diff --git a/build.sh b/build.sh index 0f3fbf7ac..215533563 100755 --- a/build.sh +++ b/build.sh @@ -196,6 +196,10 @@ PackageMono() echo "Adding CurlSharp.dll.config (for dllmap)" cp $sourceFolder/NzbDrone.Common/CurlSharp.dll.config $outputFolderLinux + echo "Adding unix System.Runtime.InteropServices.RuntimeInformation.dll (for SharpRaven)" + cp $sourceFolder/packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/runtimes/unix/lib/netstandard1.1/System.Runtime.InteropServices.RuntimeInformation.dll $outputFolderLinux + cp $sourceFolder/packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/runtimes/unix/lib/netstandard1.1/System.Runtime.InteropServices.RuntimeInformation.dll $outputFolderLinux/Sonarr.Update + echo "Renaming Sonarr.Console.exe to Sonarr.exe" rm $outputFolderLinux/Sonarr.exe* for file in $outputFolderLinux/Sonarr.Console.exe*; do diff --git a/distribution/debian.sh b/distribution/debian.sh index d80022b3e..a2d22e066 100644 --- a/distribution/debian.sh +++ b/distribution/debian.sh @@ -10,8 +10,6 @@ PackageUpdater="apt" echo Version: "$BuildVersion" Branch: "$BuildBranch" rm -r ./sonarr_bin/Sonarr.Update -rm ./sonarr_bin/System.Runtime.InteropServices.RuntimeInformation.dll -rm ./sonarr_bin/UI/*.map ./sonarr_bin/UI/Content/*.map chmod -R ugo-x,ugo+rwX,go-w ./sonarr_bin/* echo Updating changelog for $BuildVersion