From 5c64f617551ed7b82dce5e9a5181ac7896cadd94 Mon Sep 17 00:00:00 2001 From: Guille Date: Wed, 15 May 2024 14:00:29 +0200 Subject: [PATCH] mac bug --- main.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.js b/main.js index 5eb9629..837a200 100644 --- a/main.js +++ b/main.js @@ -20,14 +20,15 @@ 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') app.quit() + if (process.platform !== 'darwin' && process.platform !== 'ventura') app.quit() }) }) app.on('window-all-closed', () => { - if (process.platform !== 'darwin') { + if (process.platform !== 'darwin' && process.platform !== 'ventura') { app.quit() } }) \ No newline at end of file