billymeltdown-choctop 0.11.0.6 → 0.11.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/choctop/appcast.rb +4 -4
- data/lib/choctop/dmg.rb +7 -0
- metadata +2 -2
data/lib/choctop/appcast.rb
CHANGED
@@ -5,10 +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
|
-
|
10
|
-
|
11
|
-
end
|
8
|
+
# if codesign_identity
|
9
|
+
# sh "codesign -v -s 'Zetetic LLC' '#{build_products}/#{target}'"
|
10
|
+
# sh "codesign -dv '#{build_products}/#{target}'"
|
11
|
+
# end
|
12
12
|
end
|
13
13
|
|
14
14
|
def make_appcast
|
data/lib/choctop/dmg.rb
CHANGED
@@ -1,4 +1,10 @@
|
|
1
1
|
module ChocTop::Dmg
|
2
|
+
|
3
|
+
def codesign
|
4
|
+
sh "codesign -v -s 'Zetetic LLC' '#{src_folder}/#{target}'"
|
5
|
+
sh "codesign -dv '#{src_folder}/#{target}'"
|
6
|
+
end
|
7
|
+
|
2
8
|
def prepare_files
|
3
9
|
self.files = files.inject({}) do |files, file|
|
4
10
|
path_or_helper, options = file
|
@@ -26,6 +32,7 @@ module ChocTop::Dmg
|
|
26
32
|
def make_dmg
|
27
33
|
prepare_files
|
28
34
|
copy_files
|
35
|
+
codesign if codesign_identity
|
29
36
|
FileUtils.mkdir_p build_path
|
30
37
|
FileUtils.mkdir_p mountpoint # TODO can we remove random mountpoints?
|
31
38
|
FileUtils.rm_f(pkg) # make sure destination pkg doesn't already exist, or hdiutil will barf
|