Updated build.sh to work on linux (#17)

Updated the build.sh script to refer to Lidarr.exe instead of NzbDrone.exe, to prevent linking in SysTrayApp.cs on linux, which makes Lidarr.exe require an active X11 display to run.
This commit is contained in:
turtlehead 2017-07-07 16:37:36 -04:00 committed by Joseph Milazzo
parent 66ad301892
commit bb196e19e1
1 changed files with 3 additions and 3 deletions

View File

@ -153,9 +153,9 @@ PackageMono()
echo "Adding CurlSharp.dll.config (for dllmap)"
cp $sourceFolder/NzbDrone.Common/CurlSharp.dll.config $outputFolderMono
echo "Renaming NzbDrone.Console.exe to NzbDrone.exe"
rm $outputFolderMono/NzbDrone.exe*
for file in $outputFolderMono/NzbDrone.Console.exe*; do
echo "Renaming Lidarr.Console.exe to Lidarr.exe"
rm $outputFolderMono/Lidarr.exe*
for file in $outputFolderMono/Lidarr.Console.exe*; do
mv "$file" "${file//.Console/}"
done