fix build
This commit is contained in:
parent
ef1a14bc76
commit
ad5f6a584e
1 changed files with 10 additions and 4 deletions
14
build.sh
14
build.sh
|
@ -1,6 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
name="Open Media Library"
|
||||
tmp="${name}.tmp.dmg"
|
||||
dmg="${name}.dmg"
|
||||
|
||||
tmpdir=`mktemp -d -t oml`
|
||||
cp -r "Open Media Library.app" $tmpdir/
|
||||
hdiutil create -srcfolder "$tmpdir" -volname "Open Media Library" -format UDZO "Open Media Library.tmp.dmg"
|
||||
hdiutil convert -format UDZO -imagekey zlib-level=9 -o "Open Media Library.dmg" "Open Media Library.tmp.dmg"
|
||||
rm -rf $tmpdir "Open Media Library.tmp.dmg"
|
||||
cp -r "${name}.app" $tmpdir/
|
||||
rm -rf "$dmg" "$tmp"
|
||||
hdiutil create -srcfolder "$tmpdir" -volname "$name" -format UDZO "$tmp"
|
||||
hdiutil convert -format UDZO -imagekey zlib-level=9 -o "$dmg" "$tmp"
|
||||
rm -rf $tmpdir "$tmp"
|
||||
|
|
Loading…
Reference in a new issue