Skip to content

Commit

Permalink
fix patch status amdfriend
Browse files Browse the repository at this point in the history
  • Loading branch information
alvindimas05 committed Aug 25, 2024
1 parent de9ff3f commit 69cc3d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/patches/amdfriend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default class Amdfriend extends AppPatch {
if(this.patched() === PatchType.PATCHED) return console.log(`${this.appName} already patched. Ignoring...`);
await parallelizer(this.patchDirectories(), cpus().length);

if(!isRoot()) fs.writeFileSync(this.patchedPath, "");
if(isRoot()) fs.writeFileSync(this.patchedPath, "");
}
*patchDirectories(): Generator<Promise<void>>{
for (const dirent of walkDirectory(this.appPath, ["", ".dylib"], [".DS_Store"])) {
Expand Down

0 comments on commit 69cc3d1

Please sign in to comment.