diff --git a/bsx-update b/bsx-update index b292024..431cd73 100755 --- a/bsx-update +++ b/bsx-update @@ -1,4 +1,11 @@ #!/bin/bash export SWAP_DATADIR=$HOME/coinswaps . $SWAP_DATADIR/venv/bin/activate && python -V -$HOME/.local/bin/bsx/update.sh + +if [ -f /usr/local/bin/bsx/update.sh ]; then + /usr/local/bin/bsx/update.sh + cd /usr/local/bin + sudo rm -rf basicswap-bash bsx* +else + $HOME/.local/bin/bsx/update.sh +fi diff --git a/bsx/setup.sh b/bsx/setup.sh index 80aa8fc..5cdf4c3 100755 --- a/bsx/setup.sh +++ b/bsx/setup.sh @@ -15,7 +15,7 @@ $SWAP_DATADIR/venv/bin/pip install . ## Clone basicswap git cd $SWAP_DATADIR -git clone https://github.com/tecnovert/basicswap -b wow +git clone https://github.com/basicswap/basicswap -b dev cd $SWAP_DATADIR/basicswap ## Install basicswap $SWAP_DATADIR/venv/bin/pip install .