From 3845d3e8e2a6ea3dc44f09d9c85abade0e587407 Mon Sep 17 00:00:00 2001 From: lecepin <383810086@qq.com> Date: Sun, 22 May 2022 15:16:51 +0800 Subject: [PATCH] fix: win lock file flag --- electron/cert.js | 1 + 1 file changed, 1 insertion(+) diff --git a/electron/cert.js b/electron/cert.js index 96d7129..d557aa7 100644 --- a/electron/cert.js +++ b/electron/cert.js @@ -39,6 +39,7 @@ export async function installCert(checkInstalled = true) { ]); if (result.stdout.toString().indexOf('Succeeded') > -1) { + fs.writeFileSync(CONFIG.INSTALL_CERT_FLAG, ''); resolve(); } else { reject();