From 869efa32f4eede6df05ded9cfd3ea3bf6cd76497 Mon Sep 17 00:00:00 2001 From: garfield69 Date: Wed, 26 Dec 2018 16:37:03 +1300 Subject: [PATCH] readme: update osx build instructions --- README.md | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 0a613cd2e..e8763a5c7 100644 --- a/README.md +++ b/README.md @@ -458,20 +458,19 @@ All contributions are welcome just send a pull request. Jackett's framework all * Build/Start the project ### OSX -NOTE: msbuild is included in the mono release. -* Install Homebrew https://brew.sh -* open terminal -* brew install nuget mono -* git clone https://github.com/Jackett/Jackett.git -* cd Jackett/src -* nuget restore Jackett.sln -NOTE: if you get the error "NU1102: Unable to find package Microsoft.AspNetCore with version (>= 2.1.2)" while restoring packages, you'll need to install it manually.https://www.microsoft.com/net/download/thank-you/dotnet-sdk-2.1.302-macos-x64-installer then delete the entire project directory and restart from a new clone -* msbuild Jackett.Server/Jackett.Server.csproj /t:Build /p:Configuration=Debug -* curl -sS https://curl.haxx.se/ca/cacert.pem | cert-sync --user /dev/stdin -* mono Jackett.Server/bin/Debug/JackettServer.exe +```bash +# manually install osx dotnet via: +https://dotnet.microsoft.com/download?initial-os=macos +# then: +git clone https://github.com/Jackett/Jackett.git +cd Jackett/src +# dotnet core version +dotnet publish Jackett.Server -f netcoreapp2.2 --self-contained -r osx-x64 -c Debug # takes care of everything +./Jackett.Server/bin/Debug/netcoreapp2.2/osx-x64/JackettConsole # run jackett +``` ### Linux