Skip to content

Commit

Permalink
feat: adding copyright text to BrandingText (#7001)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhyll authored May 19, 2023
1 parent 0302138 commit fc7f9eb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changes/nsis-branding.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tauri-bundler': 'patch:enhance'
---

Added Copyright field as BrandingText to the NSIS bundler.
1 change: 1 addition & 0 deletions tooling/bundler/src/bundle/windows/nsis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ fn build_nsis_app_installer(
data.insert("bundle_id", to_json(bundle_id));
data.insert("manufacturer", to_json(manufacturer));
data.insert("product_name", to_json(settings.product_name()));
data.insert("copyright", to_json(settings.copyright_string()));

let version = settings.version_string();
data.insert("version", to_json(version));
Expand Down
1 change: 1 addition & 0 deletions tooling/bundler/src/bundle/windows/templates/installer.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Var ReinstallPageCheck
!define MANUPRODUCTKEY "Software\${MANUFACTURER}\${PRODUCTNAME}"

Name "${PRODUCTNAME}"
BrandingText "{{copyright}}"
OutFile "${OUTFILE}"
Unicode true
SetCompressor /SOLID lzma
Expand Down

0 comments on commit fc7f9eb

Please sign in to comment.