[MM-39843] Show main window on second instance (#1848)

This commit is contained in:
Devin Binnie 2021-11-08 09:24:19 -05:00 committed by GitHub
parent 0bd5a54c76
commit fbb3c9c705
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -358,9 +358,7 @@ function handleAppSecondInstance(event: Event, argv: string[]) {
// Protocol handler for win32
// argv: An array of the second instances (command line / deep linked) arguments
const deeplinkingUrl = getDeeplinkingURL(argv);
if (deeplinkingUrl) {
openDeepLink(deeplinkingUrl);
}
WindowManager.showMainWindow(deeplinkingUrl);
}
function handleAppWindowAllClosed() {