mirror of
https://github.com/keymanapp/keyman.git
synced 2026-10-18 11:57:38 +00:00
fix(windows): call 'Show Console' twice to make the console actually show on first use
The underlying issue may be in the node-hide-console-window component. This fix is adequate in my view, for a low-use code path. Fixes: #9694 Test-bot: skip
This commit is contained in:
parent
f8a5164c57
commit
0f3e84bcc7
1 changed files with 5 additions and 0 deletions
|
|
@ -71,6 +71,11 @@ export class Win32Tray {
|
|||
open(ngrokAddress);
|
||||
break;
|
||||
case 'item-id-show-console':
|
||||
// #9694 - the first time, this has to be called twice for the console
|
||||
// window to appear. This could probably be fixed in the source
|
||||
// node-hide-console-window component, but this works well enough and
|
||||
// has little in the way of side-effects.
|
||||
WindowsConsole.showConsole();
|
||||
WindowsConsole.showConsole();
|
||||
break;
|
||||
case 'item-id-hide-console':
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue