Skip to content

Commit

Permalink
[tdx] f build script
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Nov 8, 2024
1 parent 0fee0fd commit e2a90df
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Telegram/build/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,9 @@ if [ "$BuildTarget" == "mac" ] || [ "$BuildTarget" == "macstore" ]; then
if [ "$AlphaVersion" == "0" ]; 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/"
mv "$TempDiskPath/$BundleName" "$TempDiskPath/Tdx.app"
mv "./$BundleName" "./Tdx.app"
cp -R "./Tdx.app" "$TempDiskPath/"
mv "./Tdx.app" "./$BundleName"
bless --folder "$TempDiskPath/"
hdiutil detach "$TempDiskPath"
hdiutil convert tsetup.temp.dmg -format UDBZ -ov -o "$SetupFile"
Expand Down

0 comments on commit e2a90df

Please sign in to comment.