Skip to content

Commit

Permalink
remove sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
alvindimas05 committed Sep 27, 2024
1 parent 6ac8995 commit a745787
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/patches/chromium.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ export async function patchChromiumApps(){

fs.mkdirSync(path.join(bashPath, ".."), { recursive: true });
fs.writeFileSync(bashPath, amdhelperChromiumBash(apps, global.disableGpuMode));
await exec(`sudo chmod +x ${escapePathSpaces(bashPath)}`);
await exec(`sudo chmod 755 ${escapePathSpaces(bashPath)}`);
await exec(`sudo chown 0:0 ${escapePathSpaces(bashPath)}`);
await exec(`chmod +x ${escapePathSpaces(bashPath)}`);
await exec(`chmod 755 ${escapePathSpaces(bashPath)}`);
await exec(`chown 0:0 ${escapePathSpaces(bashPath)}`);

fs.writeFileSync(plistPath, amdhelperChromiumPlist);
}
Expand Down
Empty file removed src/ryzenadj.ts
Empty file.

0 comments on commit a745787

Please sign in to comment.