Skip to content

Commit

Permalink
fix(bundler/nsis): fix installer incorrect copyright info (#7386)
Browse files Browse the repository at this point in the history
Signed-off-by: luofei <luoffei@outlook.com>
  • Loading branch information
luoffei authored Jul 10, 2023
1 parent 6e36ebb commit eba8e13
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changes/fix-nsis-legal-copyright.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tauri-bundler': 'patch:bug'
---

On Windows, fix installation packages not showing correct copyright information.
3 changes: 2 additions & 1 deletion tooling/bundler/src/bundle/windows/templates/installer.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -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}}"
Expand All @@ -35,7 +36,7 @@ ${StrLoc}
!define MANUPRODUCTKEY "Software\${MANUFACTURER}\${PRODUCTNAME}"

Name "${PRODUCTNAME}"
BrandingText "{{copyright}}"
BrandingText "${COPYRIGHT}"
OutFile "${OUTFILE}"

VIProductVersion "${VERSIONWITHBUILD}"
Expand Down

0 comments on commit eba8e13

Please sign in to comment.