1b58cd1a35
實測抓到:Windows 版編出來 v0.10.0 命中 0——版本注入只加在 build-mac.sh, Windows 那支漏了(我今天改的那份在 detached worktree,沒進分支)。 v0.10.0 兩平台實測: Mac zip 15.92MB|托盤 21.15MB(strip)|collector 14.46MB(含 PDFium) Win zip 16.86MB|tray 22.40MB|collector 15.15MB 兩者皆 < jsDelivr 20MB 指紋全中:v0.10.0/版本列/結束 Arcrun RAG/PDF 打不開(轉檔層) 順帶修:tray go.mod 需 tidy 才編得過(合併後又被覆蓋,撞了兩次)。
47 lines
2.0 KiB
Modula-2
47 lines
2.0 KiB
Modula-2
// 獨立 module:把 fyne(CGo/GL)依賴與純 stdlib 的 collector module 隔開,
|
||
// 讓 collector 模組維持 `go test ./...` 可在無 GUI 環境驗證。
|
||
// 本 module 在 Mac/Windows 真機 build(leo/地端):`go mod tidy && fyne package`。
|
||
module arcrun-rag/collector/cmd/arcrun-tray
|
||
|
||
go 1.25.0
|
||
|
||
require (
|
||
arcrun-rag/collector v0.0.0
|
||
fyne.io/fyne/v2 v2.5.3
|
||
)
|
||
|
||
require (
|
||
fyne.io/systray v1.11.0 // indirect
|
||
github.com/BurntSushi/toml v1.4.0 // indirect
|
||
github.com/davecgh/go-spew v1.1.1 // indirect
|
||
github.com/fredbi/uri v1.1.0 // indirect
|
||
github.com/fsnotify/fsnotify v1.7.0 // indirect
|
||
github.com/fyne-io/gl-js v0.0.0-20220119005834-d2da28d9ccfe // indirect
|
||
github.com/fyne-io/glfw-js v0.0.0-20241126112943-313d8a0fe1d0 // indirect
|
||
github.com/fyne-io/image v0.0.0-20220602074514-4956b0afb3d2 // indirect
|
||
github.com/go-gl/gl v0.0.0-20211210172815-726fda9656d6 // indirect
|
||
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20240506104042-037f3cc74f2a // indirect
|
||
github.com/go-text/render v0.2.0 // indirect
|
||
github.com/go-text/typesetting v0.2.0 // indirect
|
||
github.com/godbus/dbus/v5 v5.1.0 // indirect
|
||
github.com/gopherjs/gopherjs v1.17.2 // indirect
|
||
github.com/jeandeaual/go-locale v0.0.0-20240223122105-ce5225dcaa49 // indirect
|
||
github.com/jsummers/gobmp v0.0.0-20151104160322-e2ba15ffa76e // indirect
|
||
github.com/nicksnyder/go-i18n/v2 v2.4.0 // indirect
|
||
github.com/pmezard/go-difflib v1.0.0 // indirect
|
||
github.com/rymdport/portal v0.3.0 // indirect
|
||
github.com/srwiley/oksvg v0.0.0-20221011165216-be6e8873101c // indirect
|
||
github.com/srwiley/rasterx v0.0.0-20220730225603-2ab79fcdd4ef // indirect
|
||
github.com/stretchr/testify v1.8.4 // indirect
|
||
github.com/yuin/goldmark v1.7.1 // indirect
|
||
golang.org/x/image v0.18.0 // indirect
|
||
golang.org/x/mobile v0.0.0-20231127183840-76ac6878050a // indirect
|
||
golang.org/x/net v0.57.0 // indirect
|
||
golang.org/x/sys v0.47.0 // indirect
|
||
golang.org/x/text v0.40.0 // indirect
|
||
gopkg.in/yaml.v3 v3.0.1 // indirect
|
||
)
|
||
|
||
// 複用同 repo 的 supervisor 套件(純 stdlib)。
|
||
replace arcrun-rag/collector => ../../
|