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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user