feat: add Windows x64 support, update macOS to v145

This commit is contained in:
CloakHQ
2026-03-03 08:57:07 +01:00
committed by Durafen
parent fe567d7a5a
commit 408a582117
9 changed files with 53 additions and 44 deletions
+2 -2
View File
@@ -363,9 +363,9 @@ async function extractArchive(
// Flatten single subdirectory if needed
flattenSingleSubdir(destDir);
// Make binary executable
// Make binary executable (skip on Windows — no-op / AV lock risk)
const bp = binaryPath || getBinaryPath();
if (fs.existsSync(bp)) {
if (process.platform !== "win32" && fs.existsSync(bp)) {
fs.chmodSync(bp, 0o755);
}