Commit cca013e7 authored by Rafaël Carré's avatar Rafaël Carré

apple script can fail if user is logged in through GUI

Just ignore the error if it happens, the dmg will still work
parent 1550902d
...@@ -72,7 +72,7 @@ package-macosx: VLC-release.app ...@@ -72,7 +72,7 @@ package-macosx: VLC-release.app
hdiutil create -verbose -srcfolder "$(top_builddir)/vlc-$(VERSION)" "$(top_builddir)/vlc-$(VERSION)-rw.dmg" -scrub -format UDRW hdiutil create -verbose -srcfolder "$(top_builddir)/vlc-$(VERSION)" "$(top_builddir)/vlc-$(VERSION)-rw.dmg" -scrub -format UDRW
mkdir -p ./mount mkdir -p ./mount
hdiutil attach -readwrite -noverify -noautoopen -mountRoot ./mount "vlc-$(VERSION)-rw.dmg" hdiutil attach -readwrite -noverify -noautoopen -mountRoot ./mount "vlc-$(VERSION)-rw.dmg"
osascript "$(srcdir)"/extras/package/macosx/dmg_setup.scpt "vlc-$(VERSION)" -osascript "$(srcdir)"/extras/package/macosx/dmg_setup.scpt "vlc-$(VERSION)"
hdiutil detach ./mount/"vlc-$(VERSION)" hdiutil detach ./mount/"vlc-$(VERSION)"
# Make sure the image is not writable # Make sure the image is not writable
# Note: We can't directly create a read only dmg as we do the bless stuff # Note: We can't directly create a read only dmg as we do the bless stuff
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment