Failure to hide cache folder should never be fatal (closes #512)
This commit is contained in:
@@ -147,6 +147,8 @@ public class ReplayMod implements Module, Scheduler {
|
|||||||
try {
|
try {
|
||||||
Files.setAttribute(path, "dos:hidden", true);
|
Files.setAttribute(path, "dos:hidden", true);
|
||||||
} catch (UnsupportedOperationException ignored) {
|
} catch (UnsupportedOperationException ignored) {
|
||||||
|
} catch (Exception e) {
|
||||||
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user