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"