diff options
| -rw-r--r-- | mullvad-daemon/src/migrations/mod.rs | 7 | ||||
| -rw-r--r-- | windows/nsis-plugins/src/cleanup/cleaningops.cpp | 1 |
2 files changed, 6 insertions, 2 deletions
diff --git a/mullvad-daemon/src/migrations/mod.rs b/mullvad-daemon/src/migrations/mod.rs index 8347b3cd76..c1402d15b5 100644 --- a/mullvad-daemon/src/migrations/mod.rs +++ b/mullvad-daemon/src/migrations/mod.rs @@ -174,8 +174,11 @@ mod windows { }; const MIGRATION_DIRNAME: &str = "windows.old"; - const MIGRATE_FILES: [(&str, bool); 2] = - [("settings.json", true), ("account-history.json", false)]; + const MIGRATE_FILES: [(&str, bool); 3] = [ + ("settings.json", true), + ("device.json", true), + ("account-history.json", false), + ]; #[derive(err_derive::Error, Debug)] #[error(no_from)] 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>()); |
