We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e41438a commit cec22f7Copy full SHA for cec22f7
main.js
@@ -60,12 +60,8 @@ menubarApp.on('ready', () => {
60
}
61
});
62
63
- ipcMain.handle('get-platform', async () => {
64
- return process.platform;
65
- });
66
- ipcMain.handle('get-app-version', async () => {
67
- return app.getVersion();
68
+ ipcMain.handle('get-platform', () => process.platform);
+ ipcMain.handle('get-app-version', () => app.getVersion());
69
70
ipcMain.on('reopen-window', () => menubarApp.showWindow());
71
ipcMain.on('hide-window', () => menubarApp.hideWindow());
0 commit comments