Copy unix-specific System.Runtime.InteropServices.RuntimeInformation to linux output.
This commit is contained in:
parent
1cf80c3ba0
commit
f87e2dd717
4
build.sh
4
build.sh
|
@ -196,6 +196,10 @@ PackageMono()
|
||||||
echo "Adding CurlSharp.dll.config (for dllmap)"
|
echo "Adding CurlSharp.dll.config (for dllmap)"
|
||||||
cp $sourceFolder/NzbDrone.Common/CurlSharp.dll.config $outputFolderLinux
|
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"
|
echo "Renaming Sonarr.Console.exe to Sonarr.exe"
|
||||||
rm $outputFolderLinux/Sonarr.exe*
|
rm $outputFolderLinux/Sonarr.exe*
|
||||||
for file in $outputFolderLinux/Sonarr.Console.exe*; do
|
for file in $outputFolderLinux/Sonarr.Console.exe*; do
|
||||||
|
|
|
@ -10,8 +10,6 @@ PackageUpdater="apt"
|
||||||
echo Version: "$BuildVersion" Branch: "$BuildBranch"
|
echo Version: "$BuildVersion" Branch: "$BuildBranch"
|
||||||
|
|
||||||
rm -r ./sonarr_bin/Sonarr.Update
|
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/*
|
chmod -R ugo-x,ugo+rwX,go-w ./sonarr_bin/*
|
||||||
|
|
||||||
echo Updating changelog for $BuildVersion
|
echo Updating changelog for $BuildVersion
|
||||||
|
|
Loading…
Reference in New Issue