Merge Changes
This commit is contained in:
parent
0b7e6b0bfb
commit
90b40c3bfb
1 changed files with 1 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue