feat: adding copyright text to BrandingText (#7001)

This commit is contained in:
Simon Hyll 2023-05-19 13:42:24 +02:00 committed by GitHub
parent 0302138f2f
commit fc7f9ebada
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,5 @@
---
'tauri-bundler': 'patch:enhance'
---
Added Copyright field as BrandingText to the NSIS bundler.

View File

@ -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));

View File

@ -30,6 +30,7 @@ Var ReinstallPageCheck
!define MANUPRODUCTKEY "Software\${MANUFACTURER}\${PRODUCTNAME}"
Name "${PRODUCTNAME}"
BrandingText "{{copyright}}"
OutFile "${OUTFILE}"
Unicode true
SetCompressor /SOLID lzma