omlapp/build.sh

7 lines
338 B
Bash
Raw Normal View History

2014-08-04 19:41:30 +00:00
#!/bin/sh
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"