Force app to quit on Mac when we auto update
parent
07d8b862db
commit
db62494109
@ -0,0 +1,14 @@
|
||||
let shouldQuitFlag = false;
|
||||
|
||||
function markShouldQuit() {
|
||||
shouldQuitFlag = true;
|
||||
}
|
||||
|
||||
function shouldQuit() {
|
||||
return shouldQuitFlag;
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
shouldQuit,
|
||||
markShouldQuit
|
||||
};
|
Loading…
Reference in New Issue