diff options
| author | ruki <[email protected]> | 2023-11-15 22:46:13 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-11-15 22:46:13 +0800 |
| commit | a600c1c3c3f8b60f3fd0022480ec14ca41002c5a (patch) | |
| tree | f36b65249d951b75089e4076d5d46a21c39f53ed | |
| parent | 6dc6d6301dc23637569af0682b5b1f9b9da14be5 (diff) | |
fix path
| -rw-r--r-- | xmake/scripts/xpack/nsis/makensis.nsi | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xmake/scripts/xpack/nsis/makensis.nsi b/xmake/scripts/xpack/nsis/makensis.nsi index 90f7495d5..22ffaea0f 100644 --- a/xmake/scripts/xpack/nsis/makensis.nsi +++ b/xmake/scripts/xpack/nsis/makensis.nsi @@ -153,8 +153,8 @@ Done: FunctionEnd ; setup installer -Var NoAdmin Var BinDir +Var NoAdmin Function .onInit ${GetOptions} $CMDLINE "/NOADMIN" $NoAdmin ${If} ${Errors} @@ -265,6 +265,10 @@ Function un.onInit ${IfNot} $NoAdmin == "true" !insertmacro Init "uninstaller" ${EndIf} + + ; get binary directory + StrCpy $BinDir "$InstDir\${PACKAGE_BINDIR}" + FunctionEnd Section "Uninstall" |
