Skip to content
This repository has been archived by the owner on Jun 20, 2021. It is now read-only.

Commit

Permalink
Added the codesign status to the information table
Browse files Browse the repository at this point in the history
  • Loading branch information
aenglund committed Apr 16, 2015
1 parent 8c34d97 commit 68386fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/shenzhen/commands/info.rb
Expand Up @@ -46,7 +46,7 @@
plist = Plist::parse_xml(`security cms -D -i #{temp_provisioning_profile.path}`)

codesign = `codesign -dv "#{temp_app_directory.path}" 2>&1`
signed = /Signed Time/ === codesign
codesigned = /Signed Time/ === codesign

table = Terminal::Table.new do |t|
plist.each do |key, value|
Expand All @@ -65,6 +65,8 @@

t << columns
end

t << ["Codesigned", codesigned.to_s.capitalize]
end

puts table
Expand Down

0 comments on commit 68386fc

Please sign in to comment.