jim800121chen
485a2e01ff
fix(local-tool): bootstrap-linux.sh 自動安裝 appimagetool
使用者在 Linux build 時遇到「appimagetool 未安裝」錯誤(wails binary
已產出 9.3M,但打包 AppImage 失敗)。原本 bootstrap-linux.sh 只裝 Go /
Node / Wails CLI,沒裝 appimagetool,build-appimage.sh 到打包步驟才
fail。
修法:
1. bootstrap-linux.sh 新增 [5/6] 步驟自動下載 + 安裝 appimagetool
- 從 AppImage/appimagetool 官方 continuous release 拉
appimagetool-x86_64.AppImage
- chmod +x + sudo mv 到 /usr/local/bin/appimagetool
- 已安裝則跳過
2. build-appimage.sh 的 appimagetool not found 錯誤訊息更新
- 提供一鍵安裝 curl 指令(不需重跑整個 bootstrap)
- 提示可重跑 bootstrap-linux.sh 一併補所有依賴
- 舊訊息裡的 URL 指向已 archived 的 AppImageKit repo,換成
AppImage/appimagetool(新 repo 位置)
使用者立即可用(不想重跑 bootstrap):
curl -fsSL https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage \\
-o /tmp/appimagetool && chmod +x /tmp/appimagetool && sudo mv /tmp/appimagetool /usr/local/bin/appimagetool
make appimage
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 08:11:49 +08:00
..
2026-04-11 22:10:38 +08:00
2026-04-16 08:11:49 +08:00
2026-04-11 22:10:38 +08:00