add miredo and install if needed

This commit is contained in:
j 2014-08-12 14:01:58 +02:00
parent 462be8859e
commit ef1a14bc76
2 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,10 @@
#!/bin/sh
cd "`dirname "$0"`"
BASE="$HOME/Library/Application Support/Open Media Library/"
if [ -e "$BASE" ]; then
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