Remove osx-x64 from dedicated runtime builds

This commit is contained in:
chylex 2025-02-06 14:11:05 +01:00
parent 96c19afa66
commit 5e4bb5b44d
No known key found for this signature in database
2 changed files with 16 additions and 4 deletions

View File

@ -26,13 +26,19 @@ makezip() {
rm -rf "./bin"
configurations=(win-x64 linux-x64 osx-x64)
dedicated_runtimes=(win-x64 linux-x64)
for cfg in "${configurations[@]}"; do
# Dedicated Runtimes
for cfg in "${dedicated_runtimes[@]}"; do
dotnet publish Desktop -c Release -r "$cfg" -o "./bin/$cfg" --self-contained true
makezip "$cfg"
done
# Portable
dotnet publish Desktop -c Release -o "./bin/portable" -p:PublishSingleFile=false -p:PublishTrimmed=false --self-contained false
rm "./bin/portable/DiscordHistoryTracker"
makezip "portable"

View File

@ -30,13 +30,19 @@ makezip() {
rm -rf "./bin"
configurations=(win-x64 linux-x64 osx-x64)
dedicated_runtimes=(win-x64 linux-x64)
for cfg in "${configurations[@]}"; do
# Dedicated Runtimes
for cfg in "${dedicated_runtimes[@]}"; do
"/mnt/c/Program Files/dotnet/dotnet.exe" publish Desktop -c Release -r "$cfg" -o "./bin/$cfg" --self-contained true
makezip "$cfg"
done
# Portable
"/mnt/c/Program Files/dotnet/dotnet.exe" publish Desktop -c Release -o "./bin/portable" -p:PublishSingleFile=false -p:PublishTrimmed=false --self-contained false
rm "./bin/portable/DiscordHistoryTracker.exe"
makezip "portable"