From b0c6a22bfaef504241f0f3b3f7badeb51c0a85be Mon Sep 17 00:00:00 2001 From: Keivan Beigi Date: Wed, 24 Dec 2014 12:43:05 -0800 Subject: [PATCH] Added startup script to osx update package --- build.ps1 | 5 ++++- {osx-app/Sonarr.app/Contents/MacOS => osx}/Sonarr | 0 {osx-app => osx}/Sonarr.app/Contents/Info.plist | 0 .../Sonarr.app/Contents/Resources/sonarr.icns | Bin 4 files changed, 4 insertions(+), 1 deletion(-) rename {osx-app/Sonarr.app/Contents/MacOS => osx}/Sonarr (100%) mode change 100755 => 100644 rename {osx-app => osx}/Sonarr.app/Contents/Info.plist (100%) rename {osx-app => osx}/Sonarr.app/Contents/Resources/sonarr.icns (100%) diff --git a/build.ps1 b/build.ps1 index 6c45ad7f1..afba8e4a9 100644 --- a/build.ps1 +++ b/build.ps1 @@ -152,6 +152,9 @@ Function PackageOsx() Write-Host "Adding MediaInfo dylib" Copy-Item "$sourceFolder\Libraries\MediaInfo\*.dylib" "$outputFolderOsx" + Write-Host "Adding Startup script" + Copy-Item .\osx\Sonarr "$outputFolderOsx" + Write-Host "##teamcity[progressFinish 'Creating OS X Package']" } @@ -165,7 +168,7 @@ Function PackageOsxApp() Remove-Item -Recurse -Force $outputFolderOsxApp -ErrorAction Continue } - Copy-Item .\osx-app $outputFolderOsxApp\ -recurse + Copy-Item .\osx\Sonarr.app $outputFolderOsxApp\Sonarr.app -recurse Copy-Item $outputFolderOsx\* $outputFolderOsxApp\Sonarr.app\Contents\MacOS -recurse Write-Host "##teamcity[progressFinish 'Creating OS X App Package']" diff --git a/osx-app/Sonarr.app/Contents/MacOS/Sonarr b/osx/Sonarr old mode 100755 new mode 100644 similarity index 100% rename from osx-app/Sonarr.app/Contents/MacOS/Sonarr rename to osx/Sonarr diff --git a/osx-app/Sonarr.app/Contents/Info.plist b/osx/Sonarr.app/Contents/Info.plist similarity index 100% rename from osx-app/Sonarr.app/Contents/Info.plist rename to osx/Sonarr.app/Contents/Info.plist diff --git a/osx-app/Sonarr.app/Contents/Resources/sonarr.icns b/osx/Sonarr.app/Contents/Resources/sonarr.icns similarity index 100% rename from osx-app/Sonarr.app/Contents/Resources/sonarr.icns rename to osx/Sonarr.app/Contents/Resources/sonarr.icns