mirror of
https://github.com/fiso64/slsk-batchdl.git
synced 2024-12-21 22:12:42 +00:00
Added publishing on Mac ARM
This commit is contained in:
parent
a76abef429
commit
e42012a665
2 changed files with 24 additions and 0 deletions
12
.idea/.gitignore
vendored
Normal file
12
.idea/.gitignore
vendored
Normal 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
12
publish.sh
Normal 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
|
Loading…
Reference in a new issue