Skip to content

Commit 1bc4def

Browse files
committed
Log when 2nd instances are ignored
1 parent 44d549f commit 1bc4def

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ const createWindow = () => {
8888

8989
const amMainInstance = app.requestSingleInstanceLock();
9090
if (!amMainInstance) {
91+
console.log('Not the main instance - quitting');
9192
app.quit();
9293
} else {
9394
app.on('ready', () => {

0 commit comments

Comments
 (0)