注释多余代码

This commit is contained in:
yj 2025-03-05 16:50:28 +08:00
parent a08e0a6ece
commit 55deae9654
1 changed files with 8 additions and 8 deletions

16
main.js
View File

@ -115,14 +115,14 @@ app.on('ready', () => {
uploadToServer: false, uploadToServer: false,
ignoreSystemCrashHandler: false ignoreSystemCrashHandler: false
}) })
if (!buildStatus) { // if (!buildStatus) {
Object.defineProperty(app, 'isPackaged', { // Object.defineProperty(app, 'isPackaged', {
get() { // get() {
return true // return true
} // }
}) // })
autoUpdater.updateConfigPath = path.join('latest.yml') // autoUpdater.updateConfigPath = path.join('latest.yml')
} // }
createWindow() createWindow()
regKey = new Registry({ regKey = new Registry({
hive: Registry.HKCU, hive: Registry.HKCU,