Desktop app #5

Merged
benoit merged 30 commits from desktop-app into main 2026-07-03 17:34:52 +02:00
Showing only changes of commit 8a7e98ae47 - Show all commits
+4 -4
View File
@@ -272,8 +272,10 @@ async function pingServer() {
});
}
// ========== IPC Handlers ==========
// ========== App Lifecycle ==========
app.whenReady().then(async () => {
// Setup IPC Handlers (doit être après app.whenReady)
ipcMain.handle('server:start', async () => {
return await startServer();
});
@@ -299,9 +301,7 @@ ipcMain.handle('server:ping', async () => {
return await pingServer();
});
// ========== App Lifecycle ==========
app.whenReady().then(async () => {
// Créer fenêtre
createWindow();
createTray();