mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 22:27:20 +02:00
Fix setup.dmg prepare on M1 Mac.
This commit is contained in:
parent
35142476b2
commit
7a9273eca9
1 changed files with 1 additions and 1 deletions
|
@ -363,7 +363,7 @@ if [ "$BuildTarget" == "mac" ] || [ "$BuildTarget" == "macstore" ]; then
|
|||
cp -f tsetup_template.dmg tsetup.temp.dmg
|
||||
TempDiskPath=`hdiutil attach -nobrowse -noautoopenrw -readwrite tsetup.temp.dmg | awk -F "\t" 'END {print $3}'`
|
||||
cp -R "./$BundleName" "$TempDiskPath/"
|
||||
bless --folder "$TempDiskPath/" --openfolder "$TempDiskPath/"
|
||||
bless --folder "$TempDiskPath/"
|
||||
hdiutil detach "$TempDiskPath"
|
||||
hdiutil convert tsetup.temp.dmg -format UDBZ -ov -o "$SetupFile"
|
||||
rm tsetup.temp.dmg
|
||||
|
|
Loading…
Add table
Reference in a new issue