Skip to content

Commit eba8e13

Browse files
authored
fix(bundler/nsis): fix installer incorrect copyright info (#7386)
Signed-off-by: luofei <luoffei@outlook.com>
1 parent 6e36ebb commit eba8e13

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'tauri-bundler': 'patch:bug'
3+
---
4+
5+
On Windows, fix installation packages not showing correct copyright information.

tooling/bundler/src/bundle/windows/templates/installer.nsi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ ${StrLoc}
2222
!define MAINBINARYNAME "{{main_binary_name}}"
2323
!define MAINBINARYSRCPATH "{{main_binary_path}}"
2424
!define BUNDLEID "{{bundle_id}}"
25+
!define COPYRIGHT "{{copyright}}"
2526
!define OUTFILE "{{out_file}}"
2627
!define ARCH "{{arch}}"
2728
!define PLUGINSPATH "{{additional_plugins_path}}"
@@ -35,7 +36,7 @@ ${StrLoc}
3536
!define MANUPRODUCTKEY "Software\${MANUFACTURER}\${PRODUCTNAME}"
3637

3738
Name "${PRODUCTNAME}"
38-
BrandingText "{{copyright}}"
39+
BrandingText "${COPYRIGHT}"
3940
OutFile "${OUTFILE}"
4041

4142
VIProductVersion "${VERSIONWITHBUILD}"

0 commit comments

Comments
 (0)