give hdiattach some time before running the applescript on the dmg

This commit is contained in:
Michael Zanetti 2018-06-22 12:58:41 +02:00
parent 9bbfd9de19
commit aaa666e41c

View File

@ -48,7 +48,7 @@ osxbundle.commands += cd mea && rm -f mea.dmg mea_writable.dmg mea-osx-bundle.dm
osxbundle.commands += hdiutil eject /Volumes/mea || true &&
osxbundle.commands += macdeployqt mea.app -qmldir=$$top_srcdir/mea/ui -dmg &&
osxbundle.commands += hdiutil convert mea.dmg -format UDRW -o mea_writable.dmg &&
osxbundle.commands += hdiutil attach -readwrite -noverify mea_writable.dmg &&
osxbundle.commands += hdiutil attach -readwrite -noverify mea_writable.dmg && sleep 2 &&
osxbundle.commands += mkdir /Volumes/mea/.background/ && cp $$top_srcdir/packaging/osx/installer.tiff /Volumes/mea/.background/ &&
osxbundle.commands += ln -s /Applications /Volumes/mea/Applications &&
osxbundle.commands += osascript $$top_srcdir/packaging/osx/patchinstaller.sctp &&