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) <noreply@anthropic.com>
This commit is contained in:
Stefan Hacker 2026-04-12 00:09:32 +02:00
parent ba7e541260
commit 4662286959
1 changed files with 2 additions and 1 deletions

View File

@ -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"