mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-11 13:56:16 +00:00
Compare commits
1 Commits
9769eecec6
...
fix/fixing
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
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