slskd: Add FREEBSD_VERSION for dotnet building

This commit is contained in:
tschettervictor
2025-04-18 06:54:53 -06:00
committed by GitHub
parent 322ffea1e4
commit b4f7739c70

View File

@@ -1,7 +1,9 @@
#!/bin/sh #!/bin/sh
# Install SLSKD # Install SLSKD
set -eu
APP_NAME="SLSKD" APP_NAME="SLSKD"
FREEBSD_VERSION="13"
NODE_VERSION="20" NODE_VERSION="20"
# Check for Root Privileges # Check for Root Privileges
@@ -44,7 +46,7 @@ cd /slskd/src/slskd && dotnet build \
--configuration Release --configuration Release
cd /slskd/src/slskd && dotnet publish \ cd /slskd/src/slskd && dotnet publish \
-c Release \ -c Release \
--runtime freebsd-x64 \ --runtime freebsd."${FREEBSD_VERSION}"-x64 \
--framework net9.0 \ --framework net9.0 \
-p:ReadyToRun=true \ -p:ReadyToRun=true \
-p:PublishSingleFile=true \ -p:PublishSingleFile=true \