From 9caa727c293fee83fdd623c6b0618f997ad51e93 Mon Sep 17 00:00:00 2001 From: fiso64 <64778819+fiso64@users.noreply.github.com> Date: Sun, 26 May 2024 20:56:32 +0200 Subject: [PATCH] Update publish.sh --- publish.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/publish.sh b/publish.sh index 91b9336..9639c11 100644 --- a/publish.sh +++ b/publish.sh @@ -9,4 +9,10 @@ mkdir -p slsk-batchdl/bin/zips dotnet publish -c Release -r osx-arm64 -p:PublishSingleFile=true -p:PublishTrimmed=true --self-contained true rm -f slsk-batchdl/bin/Release/net6.0/osx-arm64/publish/*.pdb rm -f slsk-batchdl/bin/zips/slsk-batchdl_osx-arm64.zip -zip -r slsk-batchdl/bin/zips/slsk-batchdl_osx-arm64.zip slsk-batchdl/bin/Release/net6.0/osx-arm64/publish \ No newline at end of file +zip -r slsk-batchdl/bin/zips/slsk-batchdl_osx-arm64.zip slsk-batchdl/bin/Release/net6.0/osx-arm64/publish + +# For macOS x64 +# dotnet publish -c Release -r osx-x64 -p:PublishSingleFile=true -p:PublishTrimmed=true --self-contained true +# rm -f slsk-batchdl/bin/Release/net6.0/osx-x64/publish/*.pdb +# rm -f slsk-batchdl/bin/zips/slsk-batchdl_osx-x64.zip +# zip -r slsk-batchdl/bin/zips/slsk-batchdl_osx-x64.zip slsk-batchdl/bin/Release/net6.0/osx-x64/publish