diff --git a/package.sh b/package.sh index f880223d0..207006c97 100644 --- a/package.sh +++ b/package.sh @@ -17,6 +17,11 @@ outputFolderMono='./_output_mono' outputFolderOsx='./_output_osx' outputFolderOsxApp='./_output_osx_app' +tr -d "\r" < $outputFolderOsxApp/Sonarr.app/Contents/MacOS/Sonarr > $outputFolderOsxApp/Sonarr.app/Contents/MacOS/Sonarr2 +rm $outputFolderOsxApp/Sonarr.app/Contents/MacOS/Sonarr +chmod +x $outputFolderOsxApp/Sonarr.app/Contents/MacOS/Sonarr2 +mv $outputFolderOsxApp/Sonarr.app/Contents/MacOS/Sonarr2 $outputFolderOsxApp/Sonarr.app/Contents/MacOS/Sonarr >& error.log + cp -r $outputFolder Radarr_Windows_$VERSION cp -r $outputFolderMono Radarr_Mono_$VERSION cp -r $outputFolderOsxApp Radarr_OSX_$VERSION