mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 06:55:59 +03:00
Mac: Use hdiutil attach instead of open during signing
This commit is contained in:
parent
0bef47b2f3
commit
d1451a3c90
1 changed files with 1 additions and 2 deletions
|
@ -10,8 +10,7 @@ mount="/Volumes/$(basename $src_dmg|cut -d"-" -f1)"
|
||||||
|
|
||||||
test -e $tmp_dmg && rm -rf $tmp_dmg
|
test -e $tmp_dmg && rm -rf $tmp_dmg
|
||||||
hdiutil convert $src_dmg -format UDRW -o $tmp_dmg
|
hdiutil convert $src_dmg -format UDRW -o $tmp_dmg
|
||||||
open $tmp_dmg
|
hdiutil attach $tmp_dmg
|
||||||
sleep 12s
|
|
||||||
pushd $mount
|
pushd $mount
|
||||||
codesign -s "$identity" $mount/*.app
|
codesign -s "$identity" $mount/*.app
|
||||||
popd
|
popd
|
||||||
|
|
Loading…
Reference in a new issue