Fixed issue where launching the app a second time wouldn't show the main window if it was hidden. (#2712)

This commit is contained in:
Devin Binnie
2023-05-08 10:10:36 -04:00
committed by GitHub
parent acd0b6a987
commit 925b2fcc32

View File

@@ -29,6 +29,7 @@ export function handleAppSecondInstance(event: Event, argv: string[]) {
// Protocol handler for win32
// argv: An array of the second instances (command line / deep linked) arguments
MainWindow.show();
const deeplinkingURL = getDeeplinkingURL(argv);
if (deeplinkingURL) {
openDeepLink(deeplinkingURL);