mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-18 08:43:57 +00:00
Compare commits
1 Commits
test
...
fix/fixing
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fc4043c2c4 |
@@ -127,6 +127,10 @@ downloadLudusavi();
|
|||||||
if (process.platform !== "win32") {
|
if (process.platform !== "win32") {
|
||||||
const binariesPath = path.join(__dirname, "..", "binaries");
|
const binariesPath = path.join(__dirname, "..", "binaries");
|
||||||
|
|
||||||
fs.chmodSync(path.join(binariesPath, "7zz"), 0o755);
|
if (fs.existsSync(binariesPath)) {
|
||||||
fs.chmodSync(path.join(binariesPath, "7zzs"), 0o755);
|
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