Skip to content
This repository was archived by the owner on Oct 12, 2018. It is now read-only.

Commit be781de

Browse files
committed
Build only binaries image
1 parent d8e907d commit be781de

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

Scripts/BuildImage.sh

-14
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,4 @@ hdiutil detach "/Volumes/${bin_volumename}"
3434
hdiutil convert ./Binaries/TEMP.${bin_filename} -format UDZO -imagekey zlib-level=9 -o ./Binaries/${bin_filename}
3535
rm ./Binaries/TEMP.${bin_filename}
3636

37-
# compressed update
38-
dmg_filename=${project_name}.${full_version}.Update.dmg
39-
dmg_volumename=${project_name}" v"${full_version}
40-
hdiutil create -megabytes 10 -fs HFS+ -volname "${dmg_volumename}" ./Binaries/TEMP.${dmg_filename}
41-
hdiutil attach ./Binaries/TEMP.${dmg_filename} -readwrite -mount required
42-
43-
cp ./Binaries/${project_name}.${full_version}.pkg "/Volumes/${dmg_volumename}/HWMonitor.pkg"
44-
45-
hdiutil detach "/Volumes/${dmg_volumename}"
46-
hdiutil convert ./Binaries/TEMP.${dmg_filename} -format UDZO -imagekey zlib-level=9 -o ./Binaries/${dmg_filename}
47-
rm ./Binaries/TEMP.${dmg_filename}
48-
openssl="/usr/bin/openssl"
49-
dsa_signature=$(${openssl} dgst -sha1 -binary < ./Binaries/${dmg_filename} | ${openssl} dgst -dss1 -sign ./Appcast/dsa_priv.pem | ${openssl} enc -base64)
50-
echo ${dsa_signature} > ./Binaries/${dmg_filename}.sha1
5137

0 commit comments

Comments
 (0)