bash/usr-local-bin/syncplay: write a quick wrapper

This commit is contained in:
Aminda Suomalainen 2022-09-10 00:17:58 +03:00
parent 9a35f15e9f
commit d7cb8f093e
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

17
bash/usr-local-bin/syncplay Executable file
View File

@ -0,0 +1,17 @@
#!/usr/bin/env bash
# Quick syncplay wrapper
set -x
# Install python3-venv
# mkdir -p ~/src/github.com/syncplay
# cd ~/src/github.com/syncplay
# git clone https://github.com/syncplay/syncplay.git
# mkdir venv venv
# source bin/activate
# pip3 install -r requirements.txt --user --upgrade
# ^ for requirements_gui.txt if desired
# this script should now work
. ~/src/github.com/syncplay/syncplay/venv/bin/activate
/home/aminda/src/github.com/syncplay/syncplay/syncplayClient.py $@
set +x