Skip to content

Commit 8c604d1

Browse files
committed
refactor: context isolation via preload script
Signed-off-by: Adam Setch <[email protected]>
1 parent 1dfdb2f commit 8c604d1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main/main.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,10 @@ app.whenReady().then(async () => {
127127

128128
ipc.on(namespacedEvent('window-hide'), () => mb.hideWindow());
129129

130-
// ipc.on(namespacedEvent('quit'), () => mb.app.quit());
130+
ipc.on(namespacedEvent('quit'), () => {
131+
console.log('MAIN DEBUGGING - quit app event');
132+
mb.app.quit();
133+
});
131134

132135
ipc.on(
133136
namespacedEvent('use-alternate-idle-icon'),

0 commit comments

Comments
 (0)