From 52a63dc5bcb5ea4fbcda81c886d9a107b14dd1f4 Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Tue, 15 Oct 2019 15:03:03 -0700 Subject: [PATCH] Update update feed script --- Scripts/update_feed.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Scripts/update_feed.rb b/Scripts/update_feed.rb index 8855a23dc..f0c8a70d3 100755 --- a/Scripts/update_feed.rb +++ b/Scripts/update_feed.rb @@ -49,7 +49,7 @@ appcast_revision_code = appcast_revision_split[1] # latest_archive = %x[find #{archivedir} -type d -name 'Cog *.xcarchive' -print0 | xargs -0 stat -f "%m %N" -t "%Y" | sort -r | head -n1 | sed -E 's/^[0-9]+ //'].rstrip # app_path = "#{latest_archive}/Products#{ENV['HOME']}/Applications" script_path = File.expand_path(File.dirname(__FILE__)) - app_path = "#{script_path}/build/Build/Products/Release" + app_path = "#{Dir.home}/Desktop/Cog" plist = open("#{app_path}/Cog.app/Contents/Info.plist") plistdoc = Nokogiri::XML(plist) @@ -81,9 +81,6 @@ if appcast_revision < latest_revision #Copy the replacement build %x[cp -R '#{app_path}/Cog.app' '#{temp_path}/Cog.app'] - #Sign it! - %x[codesign -s 'Developer ID Application' -f '#{temp_path}/Cog.app'] - #Zip the app! %x[rm -f '#{temp_path}/#{feed}.zip'] %x[ditto -c -k --sequesterRsrc --keepParent --zlibCompressionLevel 9 '#{temp_path}/Cog.app' '#{temp_path}/#{feed}.zip']