Skip to content

Commit

Permalink
fix chromium bash permission
Browse files Browse the repository at this point in the history
  • Loading branch information
alvindimas05 committed Sep 26, 2024
1 parent ced060c commit 28a7a87
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/patches/chromium.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ 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(`chown 0:0 ${escapePathSpaces(bashPath)}`);

fs.writeFileSync(plistPath, amdhelperChromiumPlist);
}
Expand Down

0 comments on commit 28a7a87

Please sign in to comment.