mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-11 22:06:17 +00:00
Update scripts/postinstall.cjs
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
97cf02577a
commit
fc4043c2c4
@@ -127,6 +127,10 @@ downloadLudusavi();
|
||||
if (process.platform !== "win32") {
|
||||
const binariesPath = path.join(__dirname, "..", "binaries");
|
||||
|
||||
fs.chmodSync(path.join(binariesPath, "7zz"), 0o755);
|
||||
fs.chmodSync(path.join(binariesPath, "7zzs"), 0o755);
|
||||
if (fs.existsSync(binariesPath)) {
|
||||
const zzzPath = path.join(binariesPath, "7zz");
|
||||
const zzzsPath = path.join(binariesPath, "7zzs");
|
||||
if (fs.existsSync(zzzPath)) fs.chmodSync(zzzPath, 0o755);
|
||||
if (fs.existsSync(zzzsPath)) fs.chmodSync(zzzsPath, 0o755);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user