From 07d2f5b6a024441201fb7d1459f8da8bfb8db898 Mon Sep 17 00:00:00 2001 From: Leonardo Galli Date: Sat, 7 Jan 2017 12:49:10 +0100 Subject: [PATCH] Update package.sh to support OSX AutoUpdater --- package.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.sh b/package.sh index a48ef91f3..679786658 100644 --- a/package.sh +++ b/package.sh @@ -41,11 +41,12 @@ cp -r $outputFolderOsxApp/ Radarr_OSX_$VERSION if [ $runtime = "dotnet" ] ; then ./7za.exe a Radarr_Windows_$VERSION.zip ./Radarr_Windows_$VERSION/* ./7za.exe a -ttar -so Radarr_Mono_$VERSION.tar ./Radarr_Mono_$VERSION/* | ./7za.exe a -si Radarr_Mono_$VERSION.tar.gz - ./7za.exe a -ttar -so Radarr_OSX_$VERSION.tar ./Radarr_OSX_$VERSION/* | ./7za.exe a -si Radarr_OSX_$VERSION.tar.gz + ./7za.exe a -ttar -so Radarr_OSX_$VERSION.tar ./_output_osx/* | ./7za.exe a -si Radarr_OSX_$VERSION.tar.gz + ./7za.exe a -ttar -so Radarr_OSX_App_$VERSION.tar ./_output_osx_app/* | ./7za.exe a -si Radarr_OSX_App_$VERSION.tar.gz else zip -r Radarr_Windows_$VERSION.zip Radarr_Windows_$VERSION/* >& /dev/null zip -r Radarr_Mono_$VERSION.zip Radarr_Mono_$VERSION/* >& /dev/null #TODO update for tar.gz -zip -r Radarr_OSX_$VERSION.zip Radarr_OSX_$VERSION/* >& /dev/null +zip -r Radarr_OSX_$VERSION_App.zip Radarr_OSX_$VERSION/* >& /dev/null fi ftp -n ftp.leonardogalli.ch << END_SCRIPT passive