From c631be4296aab051c77edfaf771fc0cf1c8aa1c5 Mon Sep 17 00:00:00 2001 From: Guille Date: Wed, 15 May 2024 14:01:54 +0200 Subject: [PATCH] try to fix mac error --- main.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/main.js b/main.js index 837a200..cd0c989 100644 --- a/main.js +++ b/main.js @@ -20,15 +20,12 @@ app.whenReady().then(() => { Factory.get(param.workflow) Factory.workflow.run(param.application, param, tmp) }) - console.log(process.platform) createWindow() app.on('window-all-closed', () => { - if (process.platform !== 'darwin' && process.platform !== 'ventura') app.quit() + app.quit() }) }) app.on('window-all-closed', () => { - if (process.platform !== 'darwin' && process.platform !== 'ventura') { - app.quit() - } + app.quit() }) \ No newline at end of file