From 867629afbed98264f52b507e60efe575ff3f7d89 Mon Sep 17 00:00:00 2001 From: srgooglo Date: Tue, 24 Oct 2023 02:10:27 +0200 Subject: [PATCH] fix platform --- src/main/setup.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/setup.js b/src/main/setup.js index 9eab855..ce24f2a 100644 --- a/src/main/setup.js +++ b/src/main/setup.js @@ -55,8 +55,8 @@ async function main() { } if (!fs.existsSync(git_exec)) { - if (!process.platform === "win32") { - git_exec = null + if (process.platform !== "win32") { + return git_exec = null } const tempPath = path.resolve(binariesPath, "git-bundle.zip")