gui: add Wails v3 desktop app skeleton

- Go upgraded to 1.25.10 (required by Wails v3)
- Wails v3 installed (alpha.96)
- Frontend: Svelte+Vite scaffold in frontend/
- guimain.go: Wails GUI entry point (compiled with -tags gui)
- wails_service.go: stub service for Wails bindings
- Verstak desktop binary builds: go build -tags gui -o verstak-gui .
- CLI (./cmd/verstak/) unaffected
- Legacy HTTP GUI (internal/gui/) preserved as prototype
- Build: 24MB ELF binary with GTK4/WebKit2GTK-6

Build commands:
  CLI:  go build -o verstak ./cmd/verstak/
  GUI:  cd frontend && npm run build && go build -tags gui -o verstak-gui .
This commit is contained in:
2026-05-31 15:45:52 +08:00
parent 537e8a126e
commit 600b67bc1e
37 changed files with 2944 additions and 72 deletions
+3
View File
@@ -21,6 +21,9 @@ go.work
# Wails
frontend/dist/
frontend/node_modules/
frontend/bindings/
verstak-gui
verstak-cli
# VS Code
.vscode/