billymeltdown-choctop 0.11.0.5 → 0.11.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/choctop/appcast.rb +4 -0
- data/lib/choctop.rb +5 -0
- metadata +2 -2
data/lib/choctop/appcast.rb
CHANGED
@@ -5,6 +5,10 @@ module ChocTop::Appcast
|
|
5
5
|
else
|
6
6
|
sh "xcodebuild -configuration #{build_type} #{build_opts}"
|
7
7
|
end
|
8
|
+
if codesign_identity
|
9
|
+
sh "codesign -v -s 'Zetetic LLC' '#{build_products}/#{target}'"
|
10
|
+
sh "codesign -dv '#{build_products}/#{target}'"
|
11
|
+
end
|
8
12
|
end
|
9
13
|
|
10
14
|
def make_appcast
|
data/lib/choctop.rb
CHANGED
@@ -195,6 +195,11 @@ class ChocTop
|
|
195
195
|
@icon_text_size = size.to_i
|
196
196
|
end
|
197
197
|
|
198
|
+
attr_accessor :codesign_identity
|
199
|
+
def codesign_identity
|
200
|
+
@codesign_identity ||= false
|
201
|
+
end
|
202
|
+
|
198
203
|
# The url for the remote package, without the protocol + host
|
199
204
|
# e.g. if absolute url is http://mydomain.com/downloads/MyApp-1.0.dmg
|
200
205
|
# then pkg_relative_url is /downloads/MyApp-1.0.dmg
|