Remove some runtimes from the portable build

This commit is contained in:
chylex 2025-02-06 14:11:24 +01:00
parent 5e4bb5b44d
commit 295c32c7b4
No known key found for this signature in database
2 changed files with 10 additions and 0 deletions

View File

@ -27,6 +27,7 @@ makezip() {
rm -rf "./bin"
dedicated_runtimes=(win-x64 linux-x64)
skipped_portable_runtimes=(browser-wasm linux-mips64 linux-s390x linux-ppc64le)
# Dedicated Runtimes
@ -41,4 +42,8 @@ dotnet publish Desktop -c Release -o "./bin/portable" -p:PublishSingleFile=false
rm "./bin/portable/DiscordHistoryTracker"
for runtime in "${skipped_portable_runtimes[@]}"; do
rm -rf "./bin/portable/runtimes/$runtime"
done
makezip "portable"

View File

@ -31,6 +31,7 @@ makezip() {
rm -rf "./bin"
dedicated_runtimes=(win-x64 linux-x64)
skipped_portable_runtimes=(browser-wasm linux-mips64 linux-s390x linux-ppc64le)
# Dedicated Runtimes
@ -45,4 +46,8 @@ done
rm "./bin/portable/DiscordHistoryTracker.exe"
for runtime in "${skipped_portable_runtimes[@]}"; do
rm -rf "./bin/portable/runtimes/$runtime"
done
makezip "portable"