fix: resolve JD NSIS payload paths absolutely

This commit is contained in:
冰朔 2026-07-17 19:46:20 +08:00
parent 4f899da565
commit a3a98f3831

View File

@ -46,7 +46,7 @@ pnpm install --frozen-lockfile
# Windows application with cargo-xwin, then hand the resulting payload to NSIS.
pnpm tauri build --runner cargo-xwin --target "$target" --no-bundle
release_dir="src-tauri/target/$target/release"
release_dir="$repo_root/src-tauri/target/$target/release"
app_exe="$release_dir/tolaria.exe"
[[ -f "$app_exe" ]] || { echo "No Windows executable was produced: $app_exe" >&2; exit 1; }