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"