1
0
Fork 0
mirror of https://github.com/fiso64/slsk-batchdl.git synced 2024-12-21 22:12:42 +00:00

Update publish.sh

This commit is contained in:
fiso64 2024-10-20 16:36:32 +02:00 committed by GitHub
parent d6cd46210b
commit de977a0158
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,11 +8,11 @@ mkdir -p slsk-batchdl/bin/zips
# For macOS ARM64
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
rm -f slsk-batchdl/bin/zips/sldl_osx-arm64.zip
zip -r slsk-batchdl/bin/zips/sldl_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
# rm -f slsk-batchdl/bin/zips/sldl_osx-x64.zip
# zip -r slsk-batchdl/bin/zips/sldl_osx-x64.zip slsk-batchdl/bin/Release/net6.0/osx-x64/publish