解决选择根磁盘无法安装问题,后面跟上JUSTAR目录路径
修改安装目录后同样跟上JUSTAR目录路径 默认路径不变
This commit is contained in:
8
installer.nsh
Normal file
8
installer.nsh
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
!define DIR_NAME "JUSTAR"
|
||||||
|
|
||||||
|
Function .onVerifyInstDir
|
||||||
|
StrLen $0 "\${DIR_NAME}"
|
||||||
|
StrCpy $1 "$INSTDIR" "" -$0
|
||||||
|
StrCmp $1 "\${DIR_NAME}" +2 0
|
||||||
|
StrCpy $INSTDIR "$INSTDIR\${DIR_NAME}"
|
||||||
|
FunctionEnd
|
||||||
@ -79,7 +79,7 @@
|
|||||||
"runAfterFinish": true,
|
"runAfterFinish": true,
|
||||||
"installerIcon": "./static/images/justar.ico",
|
"installerIcon": "./static/images/justar.ico",
|
||||||
"uninstallerIcon": "./static/images/justar.ico",
|
"uninstallerIcon": "./static/images/justar.ico",
|
||||||
"include":""
|
"include":"./installer.nsh"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
Reference in New Issue
Block a user