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:
parent
ba7e541260
commit
4662286959
3
build.sh
3
build.sh
|
|
@ -120,8 +120,9 @@ build_windows() {
|
||||||
|
|
||||||
info "Windows Build fertig! Dateien in: $OUTPUT_DIR/"
|
info "Windows Build fertig! Dateien in: $OUTPUT_DIR/"
|
||||||
|
|
||||||
|
# Upload setup installer (NSIS with WebView2 bundled), not the naked .exe
|
||||||
local upload_file=""
|
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
|
if [ -f "$f" ]; then upload_file="$f"; break; fi
|
||||||
done
|
done
|
||||||
[ -n "$upload_file" ] && upload_to_server "windows" "$upload_file"
|
[ -n "$upload_file" ] && upload_to_server "windows" "$upload_file"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue