Update code comments

This commit is contained in:
Bruno Bernardino 2022-07-21 07:18:44 +01:00
parent 3c5917dd99
commit f28fe028b1
No known key found for this signature in database
GPG Key ID: D1B0A69ADD114ECE
1 changed files with 2 additions and 2 deletions

View File

@ -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();
});