From 3bea08f0208ad5f6ce44688cc34f3830670ebc5b Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Thu, 13 Jul 2017 21:56:48 +0100 Subject: [PATCH] Fix Windows desktop icons being installed for all users. --- packaging/windows/OpenRA.nsi | 1 + 1 file changed, 1 insertion(+) diff --git a/packaging/windows/OpenRA.nsi b/packaging/windows/OpenRA.nsi index f1177df3c9..48679f0855 100644 --- a/packaging/windows/OpenRA.nsi +++ b/packaging/windows/OpenRA.nsi @@ -159,6 +159,7 @@ Section "Game" GAME nsExec::ExecToLog '"$INSTDIR\OpenRA.Utility.exe" cnc --clear-invalid-mod-registrations system' nsExec::ExecToLog '"$INSTDIR\OpenRA.Utility.exe" d2k --register-mod "$INSTDIR\Dune2000.exe" system' nsExec::ExecToLog '"$INSTDIR\OpenRA.Utility.exe" d2k --clear-invalid-mod-registrations system' + SetShellVarContext current SectionEnd