mirror of
https://github.com/chylex/Discord-History-Tracker.git
synced 2025-04-12 14:57:13 +03:00
Remove osx-x64 from dedicated runtime builds
This commit is contained in:
parent
96c19afa66
commit
5e4bb5b44d
10
app/build.sh
10
app/build.sh
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user