fix electron api callbacks

This commit is contained in:
Evan Simkowitz 2024-06-19 10:52:05 -07:00
parent 15681ffa1a
commit 9c8ab4f555
No known key found for this signature in database

View File

@ -264,12 +264,12 @@ function createWindow(client: Client, waveWindow: WaveWindow): Electron.BrowserW
return win; return win;
} }
electron.ipcMain.on("isDev", () => { electron.ipcMain.on("isDev", (event) => {
return isDev; event.returnValue = isDev;
}); });
electron.ipcMain.on("isDevServer", () => { electron.ipcMain.on("isDevServer", (event) => {
return isDevServer; event.returnValue = isDevServer;
}); });
(async () => { (async () => {