Failure to hide cache folder should never be fatal (closes #512)

This commit is contained in:
Jonas Herzig
2021-07-24 13:16:24 +02:00
parent 4090e7b540
commit 3ef355a267

View File

@@ -147,6 +147,8 @@ public class ReplayMod implements Module, Scheduler {
try {
Files.setAttribute(path, "dos:hidden", true);
} catch (UnsupportedOperationException ignored) {
} catch (Exception e) {
e.printStackTrace();
}
return path;
}