fix(single-instance): let the first instance come to front on Windows (#3592)

* fix(single-instance): let the first instance come to front on Windows

* move the hand-over right after the window lookup
This commit is contained in:
PathGao
2026-09-18 01:23:13 +08:00
committed by GitHub
parent 2df3d93681
commit 67cd25a10c
2 changed files with 20 additions and 4 deletions
@@ -0,0 +1,5 @@
---
"single-instance": patch
---
On Windows, the second instance now allows the first instance to bring its window to the front before exiting, so focusing a window from the callback no longer gets refused by Windows.