This commit is contained in:
Guille 2024-05-15 14:00:29 +02:00
parent 25088b99a7
commit 5c64f61755

View File

@ -20,14 +20,15 @@ app.whenReady().then(() => {
Factory.get(param.workflow) Factory.get(param.workflow)
Factory.workflow.run(param.application, param, tmp) Factory.workflow.run(param.application, param, tmp)
}) })
console.log(process.platform)
createWindow() createWindow()
app.on('window-all-closed', () => { 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', () => { app.on('window-all-closed', () => {
if (process.platform !== 'darwin') { if (process.platform !== 'darwin' && process.platform !== 'ventura') {
app.quit() app.quit()
} }
}) })