mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-24 00:38:52 -05:00
* don't delete cache/temp folders because deleting the temp folder would later crash ImageIO if java.io.tmpdir doesn't exist
This commit is contained in:
parent
03c31459a4
commit
1ab5c7d75d
@ -97,7 +97,9 @@ public class Main {
|
||||
System.out.println("Reset preferences and clear cache");
|
||||
for (File cache : getApplicationFolder().listFiles(FOLDERS)) {
|
||||
if (matches("cache|temp|grape", cache.getName())) {
|
||||
delete(cache);
|
||||
for (File it : cache.listFiles()) {
|
||||
delete(it);
|
||||
}
|
||||
}
|
||||
}
|
||||
Settings.forPackage(Main.class).clear();
|
||||
|
Loading…
Reference in New Issue
Block a user