diff --git a/src/background.js b/src/background.js index e423ddc3e7..9119d2d2a7 100644 --- a/src/background.js +++ b/src/background.js @@ -72,7 +72,8 @@ const parseProtocolUrls = (args) => const addServers = (protocolUrls) => parseProtocolUrls(protocolUrls) .forEach((serverUrl) => addServer(serverUrl)); -const isSecondInstance = app.makeSingleInstance((argv) => { +const isSecondInstance = app.makeSingleInstance(async(argv) => { + (await getMainWindow()).show(); addServers(argv.slice(2)); });