From 55deae965415bb01dac8c6e8eff1fc3efd0b36ab Mon Sep 17 00:00:00 2001 From: yj <1336058017@qq.com> Date: Wed, 5 Mar 2025 16:50:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A=E5=A4=9A=E4=BD=99=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/main.js b/main.js index e087287..f5fecb8 100644 --- a/main.js +++ b/main.js @@ -115,14 +115,14 @@ app.on('ready', () => { uploadToServer: false, ignoreSystemCrashHandler: false }) - if (!buildStatus) { - Object.defineProperty(app, 'isPackaged', { - get() { - return true - } - }) - autoUpdater.updateConfigPath = path.join('latest.yml') - } + // if (!buildStatus) { + // Object.defineProperty(app, 'isPackaged', { + // get() { + // return true + // } + // }) + // autoUpdater.updateConfigPath = path.join('latest.yml') + // } createWindow() regKey = new Registry({ hive: Registry.HKCU,