summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2022-03-15 14:07:31 +0100
committerDavid Lönnhager <david.l@mullvad.net>2022-03-15 15:06:19 +0100
commit8cccad82e2be81af4638c8faf8374b7ac20e51f7 (patch)
tree1d8ce0957e78f1a84b9779b0246d6579a558cc3c
parent01e6f1d7c24733bdc2b83dade3a8950a306b0a80 (diff)
downloadmullvadvpn-8cccad82e2be81af4638c8faf8374b7ac20e51f7.tar.xz
mullvadvpn-8cccad82e2be81af4638c8faf8374b7ac20e51f7.zip
Don't move device.json to ProgramData when updating or reinstalling the app
-rw-r--r--windows/nsis-plugins/src/cleanup/cleaningops.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/windows/nsis-plugins/src/cleanup/cleaningops.cpp b/windows/nsis-plugins/src/cleanup/cleaningops.cpp
index 3a7ac99abf..2a29e8dd1c 100644
--- a/windows/nsis-plugins/src/cleanup/cleaningops.cpp
+++ b/windows/nsis-plugins/src/cleanup/cleaningops.cpp
@@ -153,6 +153,7 @@ void MigrateCacheServiceUser()
notNamedSet->addObject(L"account-history.json");
notNamedSet->addObject(L"settings.json");
+ notNamedSet->addObject(L"device.json");
files.addFilter(std::move(notNamedSet));
files.addFilter(std::make_unique<common::fs::FilterFiles>());