根因:Windows installer 把 visiona-local-server.exe 裝到 {app}\bin\
(.iss 的 DestDir: "{app}\bin"),但 locateServerBinary 只搜
exeDir\visiona-local-server.exe 和 macOS bundle 專屬路徑,
Windows/Linux 打包後的 bin/ 子目錄完全沒被搜尋,導致執行時
"server binary not found" 嚴重錯誤。
修法:
- locateServerBinary 第一優先搜 exeDir\bin\visiona-local-server
(Inno Setup installer / AppImage 的標準佈局)
- 開發模式 fallback 新增 payload/<goos>/bin/ 候選路徑
- 同時修正 locateBundleBinDir / locateBundledPythonAssets 的開發模式
fallback 寫死 "payload/darwin",改用 runtime.GOOS 動態選 payload 子目錄
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
visionA
Innovedus visionA monorepo. Currently contains:
Subprojects
local-tool/
visionA-local — local-first edge AI desktop tool, derived from edge-ai-platform. Wails + Go + Next.js, packaged as macOS dmg / Windows exe / Linux AppImage.
See local-tool/README.md for details.
License
TBD (internal use)
Description
Languages
Go
42.4%
TypeScript
33.7%
JavaScript
7.5%
Python
5.3%
Makefile
3.7%
Other
7.4%