1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04:00

Store prefs backup every 30 days

This commit is contained in:
Reinhard Pointner 2019-04-19 15:26:51 +07:00
parent ab22175aba
commit f9b5e3a2a0

View File

@ -245,7 +245,7 @@ public class Main {
// restore preferences on start if empty (TODO: remove after a few releases)
try {
File f = getPreferencesBackupFile();
if (!f.exists() || !lastModifiedWithin(f, Duration.ofDays(90))) {
if (!f.exists() || !lastModifiedWithin(f, Duration.ofDays(30))) {
log.fine("Store user preferences: " + f);
Settings.store(f);
}