Skip to content

Commit

Permalink
format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kashyab12 committed May 24, 2024
1 parent 4c44953 commit e2d103d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const regWindowEvents = () => {
const setupTray = () => {
tray = new Tray(`${app.getAppPath()}/images/icon.png`)
const contextMenu = Menu.buildFromTemplate([
{label: 'Exit', type: 'normal', click: () => app.quit()}
{ label: 'Exit', type: 'normal', click: () => app.quit() }
])
tray.setContextMenu(contextMenu)
}
Expand All @@ -98,12 +98,12 @@ ipcMain.handle('dark-mode:system', () => {
// initialization and is ready to create browser windows.
// Some APIs can only be used after this event occurs.
app.on('ready', async () => {
setupTray()
appWindows.push(createWindow())
appWindows.forEach(window => {
window.hide()
})
appsInfo = await generateInstalledAppsInfo(app)
setupTray()
regGlobKeybinds()
regWindowEvents()
});
Expand Down

0 comments on commit e2d103d

Please sign in to comment.