feat(installer): 增加 Windows 和 Linux 安装包脚本

- 增加 Inno Setup 安装器及运行库安装支持
- 增加 deb、rpm、AppImage 打包与完整 Release 目录校验
- 修复 WSL 打包权限和安装路径,补充构建说明及换行规则
This commit is contained in:
tongtong committed 2026-11-28 02:50:41 +08:00
1 parent 37b2cff82b
commit a0b77a3e7a
8 files changed
+283 -7

No files matched your search

+1 -7
View File
@@ -18,13 +18,7 @@ case "$PLATFORM" in
(cd "$SIGNAL_DIR" && go build -o "$DIST/ttstd_sender.app/Contents/MacOS/signaling_server" .)
;;
Linux)
DIST="$ROOT/dist/TTSTDConnect-Linux"
mkdir -p "$DIST"
echo "构建 Flutter Linux 应用..."
(cd "$FLUTTER_DIR" && flutter build linux --release)
cp -R "$FLUTTER_DIR/build/linux/x64/release/bundle/." "$DIST/"
echo "构建内置信令服务..."
(cd "$SIGNAL_DIR" && go build -o "$DIST/signaling_server" .)
exec bash "$ROOT/installer/linux/package.sh" "$@"
;;
*)
echo "不支持的平台:$PLATFORM,请使用 installer/windows/package.ps1" >&2