12 lines
278 B
Bash
Executable File
12 lines
278 B
Bash
Executable File
#!/bin/sh
|
|
|
|
Z=`dirname "$0"`
|
|
Z=`readlink -f "$Z/.."`
|
|
|
|
export PYTHONPATH="$Z/app:$Z/lib"
|
|
export XDG_DATA_DIRS="$Z/share_override:$Z/share:$XDG_DATA_DIRS"
|
|
|
|
NICE=`which nice 2>/dev/null`
|
|
PYTHON=${PYTHON:-`which python python2 python3 | head -n 1`}
|
|
exec $NICE $PYTHON -m solaar "$@"
|