Skip to content

Commit

Permalink
nsi script fix for windows 11 (#26)
Browse files Browse the repository at this point in the history
nsi script fix for windows 11 start in installer
  • Loading branch information
ureyNZB committed Sep 26, 2023
1 parent bc8f679 commit 27d2d13
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion windows/nzbget-setup.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,10 @@ FunctionEnd

Function RunAction

${If} ${AtLeastWinVista}
${If} ${AtLeastWin11}
; Starting NZBGet on win11
Exec "$INSTDIR\nzbget.exe"
${ElseIf} ${AtLeastWinVista}
; Starting NZBGet with standard user privileges
Exec "runas /trustlevel:0x20000 $\"$INSTDIR\nzbget.exe$\""
${Else}
Expand Down

0 comments on commit 27d2d13

Please sign in to comment.