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
|
|
|
|
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
|