Closed thenswan closed 4 months ago
This is what chatgpt gave me:
#!/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 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
Please update to confirm that it works
It worked, tyvm @fiso64 ❤️
As a follow up, I have an issue with --yt-dlp
Loading Spotify playlist
Checking if tracks exist in library..
An error occurred trying to start process 'yt-dlp' with working directory '/Users/thenswan/slsk-batchdl/slsk-batchdl/bin/Release/net6.0/osx-x64'. No such file or directory
Is yt-dlp accessible in the terminal when you cd to that directory?
No
As mentioned in the option descriptions, yt-dlp must be available in the terminal (i.e added to path, accessible everywhere). I don't know how to do it on macos but it's fairly standard.
Oh got it, will check and follow up
Hello,
is it possible to create macOS x64 release?
Thanks,