mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/telegramdesktop/tdesktop
synced 2026-09-20 08:03:45 +08:00
Version 7.2.8: Fix build scripts on macOS.
This commit is contained in:
@@ -445,6 +445,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/"
|
||||
rm -f "$TempDiskPath/$BundleName/Contents/Resources/AppIcon.icns"
|
||||
bless --folder "$TempDiskPath/"
|
||||
hdiutil detach "$TempDiskPath"
|
||||
hdiutil convert tsetup.temp.dmg -format UDBZ -ov -o "$SetupFile"
|
||||
|
||||
Reference in New Issue
Block a user