mirror of
https://github.com/electron/electron.git
synced 2026-01-14 01:48:14 -05:00
7 lines
121 B
JavaScript
7 lines
121 B
JavaScript
const { app } = require('electron');
|
|
|
|
process.on('message', () => {
|
|
console.log('Notified to quit');
|
|
app.quit();
|
|
});
|