Files
arcrun-collector/cmd/arcrun-app
Leo 369eef07d4 修 check-render 誤報:server 沒收乾淨導致連跑會抓到舊頁面
實撞:同一份 build 連跑三次,一次綠兩次紅,白追一輪
(先誤判「深色模式壞了」→ 實際渲染截圖一看深色是好的)。

真因:trap 用 `kill %1`(job spec),在子 shell/連續執行時抓不到
⇒ 上一次的 http.server 佔住 8799 ⇒ 下一次抓到舊頁面。
修:改記 PID 收;並在啟動前先 lsof 清掉殘留在該 port 的 server。

順帶修 mock.js:t193 三修起 main.js 啟動會依 localStorage 覆寫成預設淺色
⇒ 光改 <html data-theme> 會被 JS 蓋掉,要在 module 之前寫 localStorage
(key=arcrun_app_theme)。

驗:連跑三次全過(原本會紅);三支閘 check-cis/check-render/check-tray 全過。

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-05 15:22:48 +08:00
..

README

About

This is the official Wails Vanilla template.

You can configure the project by editing wails.json. More information about the project settings can be found here: https://wails.io/docs/reference/project-config

Live Development

To run in live development mode, run wails dev in the project directory. This will run a Vite development server that will provide very fast hot reload of your frontend changes. If you want to develop in a browser and have access to your Go methods, there is also a dev server that runs on http://localhost:34115. Connect to this in your browser, and you can call your Go code from devtools.

Building

To build a redistributable, production mode package, use wails build.