mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
quit -> exit as screen is not accessible in alt instance
when using makeSingleInstance which leads to a weird error Unhandled exception { Error: Cannot find module '../screen' Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
0fb6a305a3
commit
e63baf62c4
@ -156,7 +156,7 @@ const shouldQuit = electron.app.makeSingleInstance((commandLine, workingDirector
|
||||
|
||||
if (shouldQuit) {
|
||||
console.log("Other instance detected: exiting");
|
||||
electron.app.quit()
|
||||
electron.app.exit();
|
||||
}
|
||||
|
||||
electron.app.on('ready', () => {
|
||||
|
Loading…
Reference in New Issue
Block a user