Update code comments
This commit is contained in:
parent
3c5917dd99
commit
f28fe028b1
|
@ -305,12 +305,12 @@ async function start() {
|
|||
|
||||
await app.whenReady();
|
||||
|
||||
// Lock app on suspend system event
|
||||
// Quit app on suspend system event (can't lock it from here)
|
||||
powerMonitor.on("suspend", async () => {
|
||||
app.quit();
|
||||
});
|
||||
|
||||
// Lock app on lock system event
|
||||
// Quit app on lock system event (can't lock it from here)
|
||||
powerMonitor.on("lock-screen", async () => {
|
||||
app.quit();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue