Skip to content

Commit 0976daf

Browse files
committed
installer: fix setting version in installer metadata
1 parent 3f71d18 commit 0976daf

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
*.libjsonnet
77
*.lock
88
*.log
9+
*.nsi
910
*.pem
1011
*~
1112
.*.swp

.wiswa.jsonnet

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ local utils = import 'utils.libjsonnet';
2525
qa: 'yarn eslint && yarn mypy . && yarn ruff . && yarn check-spelling && yarn check-formatting',
2626
},
2727
},
28+
prettierignore+: [
29+
'*.nsi',
30+
],
2831
pyproject+: {
2932
project+: {
3033
scripts+: {

installer.nsi

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,13 @@ ManifestDPIAware true
5252
!insertmacro MUI_LANGUAGE "English"
5353

5454
; Version information
55-
VIProductVersion "0.1.3.0"
55+
VIAddVersionKey "ProductVersion" "${APP_VERSION}.0"
5656
VIAddVersionKey "ProductName" "${APP_NAME}"
5757
VIAddVersionKey "CompanyName" "${APP_PUBLISHER}"
5858
VIAddVersionKey "FileDescription" "${APP_NAME} Installer"
5959
VIAddVersionKey "FileVersion" "${APP_VERSION}"
60-
VIAddVersionKey "LegalCopyright" "Copyright (c) ${CURRENT_YEAR} ${APP_PUBLISHER}."
60+
VIAddVersionKey "LegalCopyright" "Copyright © ${CURRENT_YEAR} ${APP_PUBLISHER}."
61+
VIAddVersionKey "Comments" "${APP_URL}"
6162

6263
Section "Install" SecInstall
6364
SetOutPath "$INSTDIR"

0 commit comments

Comments
 (0)