Version 7.2.8: Fix build scripts on macOS.

This commit is contained in:
John Preston
2026-09-10 23:11:45 +04:00
parent e04b7634c6
commit 272f6f5c2d

View File

@@ -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"