summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2020-09-30 13:19:54 +0200
committerDavid Lönnhager <david.l@mullvad.net>2020-10-01 11:12:20 +0200
commit547e7d8ad007dc3bbb4119502872f44cd7da3161 (patch)
tree70c5d8f7d5808fd046889b5fb58ba8e483173722
parent125f6919c78785fa68bcad71ae40ad298ba719c1 (diff)
downloadmullvadvpn-547e7d8ad007dc3bbb4119502872f44cd7da3161.tar.xz
mullvadvpn-547e7d8ad007dc3bbb4119502872f44cd7da3161.zip
Clean up installer.exe in updater directory
-rw-r--r--dist-assets/windows/installer.nsh6
1 files changed, 3 insertions, 3 deletions
diff --git a/dist-assets/windows/installer.nsh b/dist-assets/windows/installer.nsh
index 89c8e10a2a..4cae1d12aa 100644
--- a/dist-assets/windows/installer.nsh
+++ b/dist-assets/windows/installer.nsh
@@ -655,12 +655,12 @@
#
# The electron-builder NSIS logic, that runs before 'customInstall' is activated,
# makes a copy of the installer file:
- # C:\Users\%CURRENTUSER%\AppData\Roaming\${PRODUCT_NAME}\__installer.exe
+ # C:\Users\%CURRENTUSER%\AppData\Local\mullvad-vpn-updater\installer.exe
#
- # Let's undo this and remove the entire "Mullvad" folder under "Roaming".
+ # Let's undo this and remove the entire folder in AppData.
#
SetShellVarContext current
- RMDir /r "$APPDATA\${PRODUCT_NAME}"
+ RMDir /r "$LOCALAPPDATA\mullvad-vpn-updater"
${RemoveRelayCache}