🐛 Fix(custom): fix titlebar in macos

This commit is contained in:
Kuingsmile
2025-08-14 14:25:20 +08:00
parent 3ebbeb4dc7
commit 9d4e280b3d
9 changed files with 316 additions and 317 deletions

View File

@@ -151,7 +151,7 @@ updater.autoUpdater.on('update-downloaded', () => {
})
updater.autoUpdater.on('error', err => {
console.log(err)
logger.error(err)
})
class LifeCycle {
@@ -175,7 +175,7 @@ class LifeCycle {
const readyFunction = async () => {
if (process.env.NODE_ENV !== 'production') {
installExtension(VUEJS_DEVTOOLS).catch(err => {
console.log('An error occurred: ', err)
logger.error('An error occurred: ', err)
})
}
windowManager.create(IWindowList.TRAY_WINDOW)