fix(bundler/nsis): fix installer incorrect copyright info (#7386)

Signed-off-by: luofei <luoffei@outlook.com>
This commit is contained in:
luofei 2023-07-10 19:56:13 +08:00 committed by GitHub
parent 6e36ebbf84
commit eba8e1315e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
'tauri-bundler': 'patch:bug'
---
On Windows, fix installation packages not showing correct copyright information.

View File

@ -22,6 +22,7 @@ ${StrLoc}
!define MAINBINARYNAME "{{main_binary_name}}"
!define MAINBINARYSRCPATH "{{main_binary_path}}"
!define BUNDLEID "{{bundle_id}}"
!define COPYRIGHT "{{copyright}}"
!define OUTFILE "{{out_file}}"
!define ARCH "{{arch}}"
!define PLUGINSPATH "{{additional_plugins_path}}"
@ -35,7 +36,7 @@ ${StrLoc}
!define MANUPRODUCTKEY "Software\${MANUFACTURER}\${PRODUCTNAME}"
Name "${PRODUCTNAME}"
BrandingText "{{copyright}}"
BrandingText "${COPYRIGHT}"
OutFile "${OUTFILE}"
VIProductVersion "${VERSIONWITHBUILD}"