- Run Wine as non-root with dedicated WINEPREFIX and tolerate winetricks vcrun2019 failures - Switch to Python embeddable + offline wheelhouse install for reproducible Windows packaging - Update PyInstaller flags to bundle coincurve cffi backend and bip_utils data files (HD wallet runtime fix) - Build both NSIS installer and portable executable; update build output messaging
19 lines
380 B
Bash
Executable File
19 lines
380 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
REPO_ROOT=$(cd "$(dirname "$0")/../.." && pwd)
|
|
OUT_DIR="$REPO_ROOT/release"
|
|
|
|
mkdir -p "$OUT_DIR"
|
|
|
|
docker build -t wallet-gen-builder-win \
|
|
-f "$REPO_ROOT/contrib/windows/Dockerfile" \
|
|
"$REPO_ROOT"
|
|
|
|
docker run --rm \
|
|
-v "$OUT_DIR:/out" \
|
|
wallet-gen-builder-win
|
|
|
|
echo "Windows artifacts saved to: $OUT_DIR"
|
|
ls "$OUT_DIR"/*.exe
|