bin/briar_resign.rb in briar-1.3.1 vs bin/briar_resign.rb in briar-1.3.2
- old
+ new
@@ -178,9 +178,13 @@
puts "could not cp '#{mp}' to '#{abs_app_path}/embedded.mobileprovision'"
end
exit 1
end
+ Dir.glob("#{abs_app_path}/**/*.xcent").each do |existing_xcent|
+ puts "INFO: deleting the existing: '#{existing_xcent}'"
+ FileUtils.rm_rf(existing_xcent)
+ end
plist = CFPropertyList::List.new(:file => info_plist_path)
data = CFPropertyList.native_types(plist.value)
if data.nil? or !data.is_a? Hash