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"`"
2014-09-02 18:46:49 +00:00
BASE="$HOME/Library/Application Support/Open Media Library"
2014-08-12 12:01:58 +00:00
if [[ ! -e "/usr/sbin/miredo" ]]; then
2015-03-07 14:25:21 +00:00
open -W ../Resources/miredo-osx-v1.2.6-beta2.pkg
2014-08-12 12:01:58 +00:00
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