diff --git a/script/windows_installer.nsi b/script/windows_installer.nsi index 50e38a2..21c31a4 100644 --- a/script/windows_installer.nsi +++ b/script/windows_installer.nsi @@ -1,7 +1,6 @@ Name "Nekoray" OutFile "NekoraySetup.exe" -SetShellVarContext all -InstallDir "$APPDATA\Nekoray" +InstallDir $APPDATA\Nekoray RequestExecutionLevel admin !include MUI2.nsh @@ -59,4 +58,4 @@ Section "Uninstall" Delete "$INSTDIR\uninstall.exe" DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Nekoray" -SectionEnd \ No newline at end of file +SectionEnd