From 45304baafb353a8fbc420543dcd15e42fc8b39cd Mon Sep 17 00:00:00 2001 From: Syping Date: Sun, 20 Oct 2019 01:00:46 +0200 Subject: [PATCH] fix nsis script --- .ci/luaengine.nsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.ci/luaengine.nsi b/.ci/luaengine.nsi index c2e698f..2f6162d 100644 --- a/.ci/luaengine.nsi +++ b/.ci/luaengine.nsi @@ -72,6 +72,7 @@ InstallDir "$PROGRAMFILES64\Syping\LuaEngine" !insertmacro MUI_PAGE_INSTFILES !define MUI_FINISHPAGE_RUN "$INSTDIR\${MAIN_APP_RUNTIME}" +!define MUI_FINISHPAGE_RUN_PARAMETERS "$\"$INSTDIR\scripts\luaenginert.lea$\"" !insertmacro MUI_PAGE_FINISH !insertmacro MUI_UNPAGE_CONFIRM @@ -158,7 +159,7 @@ CreateShortCut "$SMPROGRAMS\$SM_Folder\${APP_NAME} Website.lnk" "$INSTDIR\${APP_ !ifndef REG_START_MENU CreateDirectory "$SMPROGRAMS\LuaEngine" -CreateShortCut "$SMPROGRAMS\LuaEngine\${APP_NAME}.lnk" "$INSTDIR\${MAIN_APP_RUNTIME}" "$INSTDIR\scripts\luaenginert.lea" +CreateShortCut "$SMPROGRAMS\LuaEngine\${APP_NAME}.lnk" "$INSTDIR\${MAIN_APP_RUNTIME}" "$\"$INSTDIR\scripts\luaenginert.lea$\"" CreateShortCut "$SMPROGRAMS\$SM_Folder\${APP_NAME} Compiler.lnk" "$INSTDIR\${MAIN_APP_COMPILER}" CreateShortCut "$SMPROGRAMS\LuaEngine\Uninstall ${APP_NAME}.lnk" "$INSTDIR\uninstall.exe"