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

14 lines
389 B
Text
Raw Normal View History

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