1
0
Fork 0
mirror of https://github.com/fiso64/slsk-batchdl.git synced 2024-12-22 06:22:41 +00:00
This commit is contained in:
fiso64 2023-11-15 22:46:02 +01:00
commit 15862444cc
2 changed files with 24 additions and 0 deletions

12
.idea/.gitignore vendored Normal file
View file

@ -0,0 +1,12 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml
/misc.xml
/modules.xml
/slsk-batchdl.iml
/vcs.xml

12
publish.sh Normal file
View file

@ -0,0 +1,12 @@
#!/bin/bash
### Download dotnet from https://dotnet.microsoft.com/en-us/download/dotnet/6.0
# Create directory if it doesn't exist
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