From 466228695987524363104e109d0f8b197c75bb99 Mon Sep 17 00:00:00 2001 From: Stefan Hacker Date: Sun, 12 Apr 2026 00:09:32 +0200 Subject: [PATCH] fix: Windows Build laedt Setup-Installer hoch statt nackte .exe Die nackte .exe braucht WebView2 separat installiert. Der NSIS-Setup-Installer (nsis/*setup*.exe) installiert WebView2 automatisch mit. Jetzt wird der Setup bevorzugt hochgeladen. Co-Authored-By: Claude Opus 4.6 (1M context) --- build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 3d9e300..62ae835 100755 --- a/build.sh +++ b/build.sh @@ -120,8 +120,9 @@ build_windows() { info "Windows Build fertig! Dateien in: $OUTPUT_DIR/" + # Upload setup installer (NSIS with WebView2 bundled), not the naked .exe local upload_file="" - for f in "$OUTPUT_DIR"/*.msi "$OUTPUT_DIR"/*.exe; do + for f in "$OUTPUT_DIR"/nsis/*setup*.exe "$OUTPUT_DIR"/*.msi "$OUTPUT_DIR"/nsis/*.exe; do if [ -f "$f" ]; then upload_file="$f"; break; fi done [ -n "$upload_file" ] && upload_to_server "windows" "$upload_file"