Skip to content

Commit fc7f9eb

Browse files
authored
feat: adding copyright text to BrandingText (#7001)
1 parent 0302138 commit fc7f9eb

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.changes/nsis-branding.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'tauri-bundler': 'patch:enhance'
3+
---
4+
5+
Added Copyright field as BrandingText to the NSIS bundler.

tooling/bundler/src/bundle/windows/nsis.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ fn build_nsis_app_installer(
177177
data.insert("bundle_id", to_json(bundle_id));
178178
data.insert("manufacturer", to_json(manufacturer));
179179
data.insert("product_name", to_json(settings.product_name()));
180+
data.insert("copyright", to_json(settings.copyright_string()));
180181

181182
let version = settings.version_string();
182183
data.insert("version", to_json(version));

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ Var ReinstallPageCheck
3030
!define MANUPRODUCTKEY "Software\${MANUFACTURER}\${PRODUCTNAME}"
3131

3232
Name "${PRODUCTNAME}"
33+
BrandingText "{{copyright}}"
3334
OutFile "${OUTFILE}"
3435
Unicode true
3536
SetCompressor /SOLID lzma

0 commit comments

Comments
 (0)