From d7cb8f093e803894f922a41b273307acb4a30a45 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sat, 10 Sep 2022 00:17:58 +0300 Subject: [PATCH] bash/usr-local-bin/syncplay: write a quick wrapper --- bash/usr-local-bin/syncplay | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 bash/usr-local-bin/syncplay diff --git a/bash/usr-local-bin/syncplay b/bash/usr-local-bin/syncplay new file mode 100755 index 0000000..b7837f7 --- /dev/null +++ b/bash/usr-local-bin/syncplay @@ -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