fix: Improve Windows desktop launcher compatibility

Fix issue #526 where Windows desktop launcher fails to open correctly.
The issue was mainly caused by:

1. Windows openBrowser function using unreliable 'rundll32' exclusively, which often
   fails on various Windows installations due to security configurations. Now using
   'cmd /c start' as primary method with 'rundll32' as fallback for maximum compatibility.

2. Windows process stop mechanism improved - using 'taskkill /IM picoclaw.exe' as
   primary method (more reliable on Windows) and including proper handling for cases
   where no process is found (which is not an actual error condition).
This commit is contained in:
liugangjian 2026-03-05 09:59:11 +08:00
parent abec0f2ea1
commit 63a6fd5472

Binary file not shown.