Modify update script to just fucking sign the file repeatedly until it validates
parent
65d1a32ad5
commit
1c68ad1c8d
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
FUCKING_THING_TO_SIGN=$1
|
||||
|
||||
FUCKING_SIGNED=0
|
||||
|
||||
while [ $FUCKING_SIGNED -eq 0 ]; do
|
||||
codesign -s 'Developer ID Application' --deep --force "$FUCKING_THING_TO_SIGN"
|
||||
spctl -a "$FUCKING_THING_TO_SIGN" && FUCKING_SIGNED=1
|
||||
done
|
|
@ -66,7 +66,7 @@ end
|
|||
filename = "Cog-#{revision_code}.zip"
|
||||
|
||||
#Sign it!
|
||||
%x[codesign -s 'Developer ID Application' --deep --force '#{app_path}/Cog.app']
|
||||
%x[#{File.expand_path("../fucking_sign_it.sh", __FILE__)} '#{app_path}/Cog.app']
|
||||
|
||||
#Zip the app!
|
||||
%x[rm -f /tmp/#{feed}.zip]
|
||||
|
|
Loading…
Reference in New Issue