13 lines
389 B
Bash
Executable file
13 lines
389 B
Bash
Executable file
#!/bin/sh
|
|
cd "`dirname "$0"`"
|
|
BASE="$HOME/Library/Application Support/Open Media Library"
|
|
if [[ ! -e "/usr/sbin/miredo" ]]; then
|
|
open -W ../Resources/miredo-osx-prerelease3.pkg
|
|
fi
|
|
if [[ -e "$BASE" ]]; then
|
|
launchctl start com.openmedialibrary.loginscript
|
|
open "$BASE/openmedialibrary/static/html/load.html"
|
|
else
|
|
python install.py "$BASE" &
|
|
open ../Resources/static/install.html
|
|
fi
|