Skip to content

Commit

Permalink
Fix Tray Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
GeekCornerGH committed May 27, 2021
1 parent f5e7b29 commit 1d4c530
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,11 @@ async function createWindow() {
// initialization and is ready to create browser windows.
// Some APIs can only be used after this event occurs.
app.whenReady().then(() => {
createWindow();
windowTitle(app, mainWindow, date);
tray(app, mainWindow);
rpc(details, date);
menu(app);
createWindow();
windowTitle(app, mainWindow, date);

register(mainWindow, ["CmdOrCtrl+Tab"], () => {
shell.openExternal("https://cutt.ly/1nezoij");
Expand Down

0 comments on commit 1d4c530

Please sign in to comment.