funkwlmpv/run

12 lines
222 B
Bash
Executable file

#!/bin/bash
if [ ! -d env_fw ]; then
python3 -m venv env_fw
. env_fw/bin/activate
pip3 install -r requirements.txt || pip install -r requirements.txt || exit 1
./funkwlmpv
else
. env_fw/bin/activate
./funkwlmpv
fi