mac bug
This commit is contained in:
parent
25088b99a7
commit
5c64f61755
5
main.js
5
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()
|
||||
}
|
||||
})
|
Loading…
Reference in New Issue
Block a user