fix platform

This commit is contained in:
srgooglo 2023-10-24 02:10:27 +02:00
parent c3365616a5
commit 867629afbe

View File

@ -55,8 +55,8 @@ async function main() {
} }
if (!fs.existsSync(git_exec)) { if (!fs.existsSync(git_exec)) {
if (!process.platform === "win32") { if (process.platform !== "win32") {
git_exec = null return git_exec = null
} }
const tempPath = path.resolve(binariesPath, "git-bundle.zip") const tempPath = path.resolve(binariesPath, "git-bundle.zip")