summaryrefslogtreecommitdiff
path: root/xmake/scripts
diff options
context:
space:
mode:
authorruki <[email protected]>2023-11-13 22:41:32 +0800
committerruki <[email protected]>2023-11-13 22:41:32 +0800
commit993d8b39a8bd1f59a5fd80c3615ce180b85cdf57 (patch)
tree1a3df47d0cdd51577d3db2017a3a396a627f17e4 /xmake/scripts
parent2578d5d05628efd0d8b98d90107e165aa71d2fb6 (diff)
fix specfile
Diffstat (limited to 'xmake/scripts')
-rw-r--r--xmake/scripts/xpack/nsis/makensis.nsi18
1 files changed, 9 insertions, 9 deletions
diff --git a/xmake/scripts/xpack/nsis/makensis.nsi b/xmake/scripts/xpack/nsis/makensis.nsi
index 8e238e783..363e31069 100644
--- a/xmake/scripts/xpack/nsis/makensis.nsi
+++ b/xmake/scripts/xpack/nsis/makensis.nsi
@@ -90,16 +90,16 @@ ManifestDPIAware true
!insertmacro MUI_LANGUAGE "English"
; set product information
-VIProductVersion ${VERSION}.0
-VIFileVersion ${VERSION}.0
-VIAddVersionKey /LANG=0 ProductName ${PACKAGE_NAME}
-VIAddVersionKey /LANG=0 Comments ${PACKAGE_DESCRIPTION}
-VIAddVersionKey /LANG=0 CompanyName ${PACKAGE_COMPANY}
-VIAddVersionKey /LANG=0 LegalCopyright ${PACKAGE_COPYRIGHT}
+VIProductVersion "${VERSION}.0"
+VIFileVersion "${VERSION}.0"
+VIAddVersionKey /LANG=0 ProductName "${PACKAGE_NAME}"
+VIAddVersionKey /LANG=0 Comments "${PACKAGE_DESCRIPTION}"
+VIAddVersionKey /LANG=0 CompanyName "${PACKAGE_COMPANY}"
+VIAddVersionKey /LANG=0 LegalCopyright "${PACKAGE_COPYRIGHT}"
VIAddVersionKey /LANG=0 FileDescription "${PACKAGE_NAME} Installer - v${VERSION}"
-VIAddVersionKey /LANG=0 OriginalFilename ${PACKAGE_FILENAME}
-VIAddVersionKey /LANG=0 FileVersion ${VERSION_FULL}
-VIAddVersionKey /LANG=0 ProductVersion ${VERSION_FULL}
+VIAddVersionKey /LANG=0 OriginalFilename "${PACKAGE_FILENAME}"
+VIAddVersionKey /LANG=0 FileVersion "${VERSION_FULL}"
+VIAddVersionKey /LANG=0 ProductVersion "${VERSION_FULL}"
; set registry paths
!define RegUninstall "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PACKAGE_NAME}"