mirror of
https://github.com/chylex/Discord-History-Tracker.git
synced 2025-04-12 06:50:01 +03:00
Remove some runtimes from the portable build
This commit is contained in:
parent
5e4bb5b44d
commit
295c32c7b4
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user