fir-cli 0.2.1.c → 0.2.1.d

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 84c453023a24a57f53cd901f3911353b99f94efe
4
- data.tar.gz: c79c75c3a3456d801720ebd90b2f4b84425624ad
3
+ metadata.gz: 3a9feed4a9b1f7e61357e5e3227ea2099614ec9b
4
+ data.tar.gz: ee67440022c68403dc8b8892a34172b490acf8c7
5
5
  SHA512:
6
- metadata.gz: cad09902cd2967701811e8f7f8fdfc14d356435457772ad185ecec4a6f50ed886b16fa4920141eb46e15445b8fc2d841f1aade0602c93a18deb67a1d0da255b5
7
- data.tar.gz: a3d72e84d21bd027dcbfeb9a807c593b7481a81f44d090c76ec9cac6ba684e99f12c7970cdadb5a0f95fd5d7580b49dec6a1887d99b9916ae457211e94b9fe52
6
+ metadata.gz: a95661e3e958233f138250c525a1e0e84fe8eaba8698bc36579a57d558b59df19feec55b96142ce9ea1b89ca1715b4bd256c1d960df5d12f8ba9e5a2fbc861e7
7
+ data.tar.gz: 76fa315d888118ddccf26aa7970adbc365f9c39984c11823df4af17e1ff3d6d96c6493233000e5c5e5c8f503112bb65449b98337990029ed79279029297ea723
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fir-cli (0.2.1.c)
4
+ fir-cli (0.2.1.d)
5
5
  highline (~> 1.6)
6
6
  lagunitas (= 0.0.1)
7
7
  paint (~> 0.9)
@@ -34,7 +34,19 @@ module Fir
34
34
  if File.directory? frmwrk_dir
35
35
  _puts "> 重签名 dylibs"
36
36
  Dir["#{frmwrk_dir}/*.dylib"].each do |_dylib|
37
- _exec "codesign -f -s \"#{sign_name}\""
37
+ _exec "codesign -f -s \"#{sign_name}\" \"#{_dylib}\""
38
+ end
39
+ _puts "> 重签名 frameworks"
40
+ Dir["#{frmwrk_dir}/*.framework"].each do |_framework|
41
+ _exec "codesign -f -s \"#{sign_name}\" \"#{_framework}\""
42
+ end
43
+ end
44
+
45
+ plugin_dir = "#{app}/PlugIns"
46
+ if File.directory? plugin_dir
47
+ _puts "> 重签名 plugins"
48
+ Dir["#{plugin_dir}/*"].each do |_plugin|
49
+ _exec "codesign -f -s \"#{sign_name}\" \"#{_plugin}\""
38
50
  end
39
51
  end
40
52
  _puts "> 重签名 #{app}"
@@ -1,5 +1,5 @@
1
1
  module Fir
2
2
  class Cli
3
- VERSION = '0.2.1.c'
3
+ VERSION = '0.2.1.d'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fir-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1.c
4
+ version: 0.2.1.d
5
5
  platform: ruby
6
6
  authors:
7
7
  - FIR.im