try to fix mac error
This commit is contained in:
parent
5c64f61755
commit
c631be4296
7
main.js
7
main.js
|
@ -20,15 +20,12 @@ 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' && process.platform !== 'ventura') app.quit()
|
app.quit()
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
app.on('window-all-closed', () => {
|
app.on('window-all-closed', () => {
|
||||||
if (process.platform !== 'darwin' && process.platform !== 'ventura') {
|
app.quit()
|
||||||
app.quit()
|
|
||||||
}
|
|
||||||
})
|
})
|
Loading…
Reference in New Issue
Block a user