Compare commits

..

No commits in common. "b8c88961c0df2b4529a3d0a02a077cd2d4057256" and "24194877097d8bea363150946d23decb5cc9edd0" have entirely different histories.

4 changed files with 11 additions and 35 deletions

View File

@ -6,8 +6,6 @@
# $@ takes all parameters so another DNS server can be specified # $@ takes all parameters so another DNS server can be specified
# e.g. ./dns-ecs-debug.bash @9.9.9.11 # e.g. ./dns-ecs-debug.bash @9.9.9.11
echo 'Remember the usage being ./dns-ecs-debug.bash @<server>'
# Let's get our own IPs first # Let's get our own IPs first
echo "Actual IP addresses" echo "Actual IP addresses"
curl -L4s --doh-url https://dns.quad9.net/dns-query https://icanhazip.com/ curl -L4s --doh-url https://dns.quad9.net/dns-query https://icanhazip.com/

View File

@ -8,6 +8,4 @@ sudo systemctl stop nordvpnd.service
sudo systemctl restart yggdrasil.service sudo systemctl restart yggdrasil.service
sudo systemctl restart iwd.service sudo systemctl restart iwd.service
sudo systemctl restart systemd-networkd.service sudo systemctl restart systemd-networkd.service
sleep 5
sudo chronyc online
set +x set +x

View File

@ -3,35 +3,15 @@
# Quick syncplay wrapper # Quick syncplay wrapper
set -x set -x
# Install python3-venv
# If syncplay doesn't exist, get it # mkdir -p ~/src/github.com/syncplay
if [ ! -d "$HOME/src/github.com/syncplay" ]; then # cd ~/src/github.com/syncplay
mkdir -p ~/src/github.com/syncplay/syncplay # git clone https://github.com/syncplay/syncplay.git
git clone https://github.com/syncplay/syncplay.git ~/src/github.com/syncplay/syncplay || exit # mkdir venv venv
mkdir -p ~/src/github.com/syncplay/syncplay/venv # source bin/activate
else # pip3 install -r requirements.txt --user --upgrade
# In this case Syncplay does exist, let's upgrade it # ^ for requirements_gui.txt if desired
cd ~/src/github.com/syncplay/syncplay || exit # this script should now work
git pull || exit
mkdir -p venv
fi
# Let's ensure we have venv setup. Spellcheck complains if I won't || exit
# every cd, which I understand to mean in failure case terminate the script.
cd ~/src/github.com/syncplay/syncplay || exit
python3 -m venv venv || exit
# Switch to the venv
. ~/src/github.com/syncplay/syncplay/venv/bin/activate . ~/src/github.com/syncplay/syncplay/venv/bin/activate
/home/aminda/src/github.com/syncplay/syncplay/syncplayClient.py "$@"
# pip will complain if it has updates available, so it must be updated
# and the syncplay requirements should be up-to-date too.
pip3 install pip --upgrade
pip3 install -r requirements.txt --upgrade
pip3 install -r requirements_gui.txt --upgrade
# finally launch the syncplay server with any flags specified
~/src/github.com/syncplay/syncplay/syncplayClient.py "$@"
# my syncplay launcher says this is a terminal app, so in case something goes
# wrong, let it stay open for a moment for me to see what.
sleep 5
set +x set +x

@ -1 +1 @@
Subproject commit 7be705891fde2efb391683093b7d643e6beee0ef Subproject commit c9cad77caf654c3bd30d22d4e8fe4f666f76c800