mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-01-23 06:38:13 -05:00
🐛 Fix: beforeOpen handler in windows
This commit is contained in:
parent
a33f1adeb3
commit
cd30a6c70c
@ -40,9 +40,7 @@ import logger from '~/main/utils/logger'
|
||||
const isDevelopment = process.env.NODE_ENV !== 'production'
|
||||
protocol.registerSchemesAsPrivileged([{ scheme: 'picgo', privileges: { secure: true, standard: true } }])
|
||||
|
||||
if (process.platform === 'darwin') {
|
||||
beforeOpen()
|
||||
}
|
||||
beforeOpen()
|
||||
|
||||
let window: BrowserWindow | null
|
||||
let settingWindow: BrowserWindow | null
|
||||
|
Loading…
Reference in New Issue
Block a user