omlapp/Open Media Library.app/Contents/MacOS/Open Media Library

14 lines
390 B
Text
Raw Normal View History

2014-08-04 19:41:30 +00:00
#!/bin/sh
cd "`dirname "$0"`"
BASE="$HOME/Library/Application Support/Open Media Library/"
2014-08-12 12:01:58 +00:00
if [[ ! -e "/usr/sbin/miredo" ]]; then
open -W ../Resources/miredo-osx-prerelease3.pkg
fi
if [[ -e "$BASE" ]]; then
2014-08-04 19:41:30 +00:00
launchctl start com.openmedialibrary.loginscript
open "$BASE/openmedialibrary/static/html/load.html"
else
python install.py "$BASE" &
open ../Resources/static/install.html
fi