summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-11-25 22:14:56 +0100
committerCarl Hetherington <cth@carlh.net>2023-11-27 00:53:17 +0100
commit41171757b87019cb979315d2ecd7effa483aed79 (patch)
treeb9c32120df91acbb4f877baf7a66eb21fd86d30e /platform
parent80cffdd94c62db219622f4fc3f7114b7d72b452e (diff)
Set shell var context so that when uninstalling we look in the same place for shortcuts as when installing.
Diffstat (limited to 'platform')
-rw-r--r--platform/windows/wscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/windows/wscript b/platform/windows/wscript
index 601e24217..5c88a6ed2 100644
--- a/platform/windows/wscript
+++ b/platform/windows/wscript
@@ -476,6 +476,7 @@ SectionEnd
print("""
Section "Uninstall"
+SetShellVarContext all
RMDir /r "$INSTDIR\\*.*"
RMDir "$INSTDIR"
""", file=f)