Skip to content

Commit

Permalink
🐛 Fix: beforeOpen handler in windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Molunerfinn committed Dec 28, 2019
1 parent a33f1ad commit cd30a6c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cd30a6c

Please sign in to comment.