summaryrefslogtreecommitdiff
path: root/xmake/scripts
diff options
context:
space:
mode:
authorruki <[email protected]>2023-11-12 00:05:21 +0800
committerruki <[email protected]>2023-11-12 00:05:21 +0800
commitfb648845e465bf0c376f6d0d4197c8243abdaecd (patch)
treea177a51f56b57a3977f036b45c524943353a0315 /xmake/scripts
parentf23af7855d5d5d2b2126dd67db0de04e05836c12 (diff)
improve specvars
Diffstat (limited to 'xmake/scripts')
-rw-r--r--xmake/scripts/xpack/nsis/makensis.nsi24
1 files changed, 2 insertions, 22 deletions
diff --git a/xmake/scripts/xpack/nsis/makensis.nsi b/xmake/scripts/xpack/nsis/makensis.nsi
index a8c7b207b..120f94f46 100644
--- a/xmake/scripts/xpack/nsis/makensis.nsi
+++ b/xmake/scripts/xpack/nsis/makensis.nsi
@@ -11,27 +11,7 @@
!include "UAC.nsh"
; the version information
-!ifndef MAJOR
- !define MAJOR 1
-!endif
-!ifndef MINOR
- !define MINOR 0
-!endif
-!ifndef PATCH
- !define PATCH 0
-!endif
-!ifndef BUILD
- !define BUILD 0
-!endif
-
-!define VERSION ${MAJOR}.${MINOR}.${PATCH}
-!define VERSION_FULL ${VERSION}+${BUILD}
-
-!ifdef x64
- !define ARCH x64
-!else
- !define ARCH x86
-!endif
+!define VERSION_FULL ${VERSION}+${VERSION_BUILD}
;--------------------------------
@@ -101,7 +81,7 @@ ManifestDPIAware true
; Install Pages
!insertmacro MUI_PAGE_WELCOME
-!insertmacro MUI_PAGE_LICENSE "..\LICENSE.md"
+;!insertmacro MUI_PAGE_LICENSE "..\LICENSE.md"
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES