When backing up the configuration file, append the current timestamp at the end instead of a '~'

This commit is contained in:
Bane Stojkovic
2023-03-28 16:35:40 +02:00
parent c3f9208ab7
commit e0d2964e12
5 changed files with 5 additions and 3 deletions
@@ -230,9 +230,7 @@ public class DIYLCStarter {
if (ConfigurationManager.getInstance().isFileWithErrors())
mainFrame.showMessage("<html>"
+ "There was an error reading the configuration file and it was replaced by a default configuration.<br>"
+ "The backup file is created and placed in user directory under '.diylc' sub-directory with '~' at the end.<br>"
+ "This can happen when running two versions of DIYLC on the same machine at the same time.<br>"
+ "Replace the main 'config.xml' file with the backup when running the latest version of DIYLC."
+ "The backup file is created and placed in user directory under 'diylc' sub-directory with the current timestamp at the end.<br>"
+ "</html>", "Warning", IView.WARNING_MESSAGE);
}