autostart
This commit is contained in:
parent
9d01cbf57e
commit
0551a18cc9
6 changed files with 69 additions and 10 deletions
13
ctl
13
ctl
|
|
@ -150,6 +150,19 @@ if [ "$1" == "open" ]; then
|
|||
fi
|
||||
exit 0
|
||||
fi
|
||||
if [ "$1" == "autostart" ]; then
|
||||
if [ $SYSTEM == "Darwin" ]; then
|
||||
open "/Applications/Open Media Library.app" --args --autostart
|
||||
fi
|
||||
if [ $SYSTEM == "Linux" ]; then
|
||||
if [ ! -e "$PID" ]; then
|
||||
python3 "$NAME/oml/gtkstatus.py" --autostart
|
||||
exit $?
|
||||
fi
|
||||
fi
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ "$1" == "ui" ]; then
|
||||
shift
|
||||
python3 "$NAME/oml/ui.py" $@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue