6 lines
121 B
JavaScript
6 lines
121 B
JavaScript
const { app } = require('electron');
|
|
|
|
process.on('message', () => {
|
|
console.log('Notified to quit');
|
|
app.quit();
|
|
});
|