fix: check cache folder exists #161

This commit is contained in:
leukipp
2025-12-09 13:53:23 +01:00
parent 73edbaedb7
commit f46649780c
+2
View File
@@ -196,7 +196,9 @@ const initArgs = async () => {
if (argsUpdated && !("app_reset" in args)) { if (argsUpdated && !("app_reset" in args)) {
args.app_reset = "arguments"; args.app_reset = "arguments";
} }
if (fs.existsSync(APP.cache)) {
fs.writeFileSync(argsFileHashPath, argsFileHash); fs.writeFileSync(argsFileHashPath, argsFileHash);
}
// Set global arguments // Set global arguments
ARGS = args; ARGS = args;