From f87e2dd717804b65d9628f7ffb3ff8bced02f502 Mon Sep 17 00:00:00 2001 From: Taloth Saldono Date: Thu, 22 Nov 2018 21:45:07 +0100 Subject: [PATCH] Copy unix-specific System.Runtime.InteropServices.RuntimeInformation to linux output. --- build.sh | 4 ++++ distribution/debian.sh | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) 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