run file for python virtual env

This commit is contained in:
localhost_frssoft 2023-11-08 01:52:56 +03:00
parent 8bc6e8e01d
commit 3b4ad62c34
2 changed files with 15 additions and 0 deletions

View file

@ -19,6 +19,9 @@ Dependencies:
Python dependencies: Python dependencies:
```pip install -r requirements.txt``` ```pip install -r requirements.txt```
Optional: brotli Optional: brotli
For virtual env just type (ofc after install mpv, fzf, python3):
`./run`
### About cache folder ### About cache folder
funkwlmpv has to cache tracks before playing (default disabled "enable_persistent_cache"). Cache is persistent and you should manage it manually because the (script/program) can't clean it automatically. funkwlmpv has to cache tracks before playing (default disabled "enable_persistent_cache"). Cache is persistent and you should manage it manually because the (script/program) can't clean it automatically.

12
run Executable file
View file

@ -0,0 +1,12 @@
#!/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