The window hides to the tray on close, so the natural next step for a shop assistant is to double-click the shortcut again. That started a second full copy of the app: a second tray icon, a second engine supervisor on the same SQLite WAL and the same port - the start-twice failure the agent package was built to prevent, on the one binary that never had the guard. Seen on a Windows install as a row of tray icons. Wails' SingleInstanceLock now hands the second launch to the first process, which brings its window to the front. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KGcjxF1cNLcuwc3DAPcnfj
3.0 KiB
3.0 KiB