mirror of
https://github.com/mitb-archive/filebot
synced 2025-01-08 12:28:04 -05:00
Store prefs backup every 30 days
This commit is contained in:
parent
ab22175aba
commit
f9b5e3a2a0
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user