1
1
mirror of https://github.com/agateau/pixelwheels.git synced 2025-10-05 17:32:39 +02:00

Make testing blank state more reliable

When migrating the config file, move it instead of copying it, otherwise
when we test blank state we always migrate the legacy config file in.
This commit is contained in:
Aurelien Gateau
2025-06-20 23:23:51 +02:00
parent 6bd719ee85
commit 757cd41ab8

View File

@@ -100,6 +100,6 @@ public class DesktopLauncher {
}
System.err.printf(Locale.US, "Migrating %s to %s\n", legacyConfigFile, configFile);
legacyConfigFile.copyTo(configFile);
legacyConfigFile.moveTo(configFile);
}
}