Merge Changes

This commit is contained in:
thororen1234 2026-07-31 23:25:54 -04:00
parent 0b7e6b0bfb
commit 90b40c3bfb
No known key found for this signature in database

View file

@ -32,8 +32,7 @@ export const patchResourcesDir = (resources: string, patcherJsPath: string): boo
const app = join(resources, "app.asar");
const _app = join(resources, "_app.asar");
if (isAlreadyPatched(resources)) return false;
if (!existsSync(app)) return false;
if (isAlreadyPatched(resources) || !existsSync(app) || existsSync(_app)) return false;
try {
if (lstatSync(app).isDirectory()) return false;
} catch {