diff --git a/README.md b/README.md index 04eed58..7bf0d0c 100644 --- a/README.md +++ b/README.md @@ -4,14 +4,14 @@ BasicSwapDEX on Windows(WSL)/Debian/Ubuntu/Arch/Fedora ### New Installation ```bash -git clone https://github.com/nahuhh/basicswap-bash +git clone https://github.com/nahuhh/basicswap-bash -b dev cd basicswap-bash && ./install.sh cd .. && rm -rf basicswap-bash ``` ### Update scripts from older versions ``` bash cd ~/coinswaps/basicswap -git clone https://github.com/nahuhh/basicswap-bash +git clone https://github.com/nahuhh/basicswap-bash -b dev cd basicswap-bash mkdir -p $HOME/.local/bin rm -r $HOME/.local/bin/bsx diff --git a/bsx/setup.sh b/bsx/setup.sh index 13187b5..e6d5380 100755 --- a/bsx/setup.sh +++ b/bsx/setup.sh @@ -9,9 +9,10 @@ nocolor="printf \e[0m" cd $SWAP_DATADIR if [[ -d basicswap ]]; then cd $SWAP_DATADIR/basicswap + git switch dev git pull || { $red"Failed to pull repo. Installation aborted"; exit; } else - git clone https://github.com/basicswap/basicswap || { $red"Failed to clone repo. Please run the installer again"; exit; } + git clone https://github.com/basicswap/basicswap -b dev || { $red"Failed to clone repo. Please run the installer again"; exit; } cd $SWAP_DATADIR/basicswap fi diff --git a/bsx/update.sh b/bsx/update.sh index 128b168..d3d29b5 100755 --- a/bsx/update.sh +++ b/bsx/update.sh @@ -14,7 +14,7 @@ if [[ -f basicswap/messages_pb2.py ]]; then git restore basicswap/messages_pb2.py fi -#git checkout master +git switch dev git pull $SWAP_DATADIR/venv/bin/pip3 install -r requirements.txt --require-hashes $SWAP_DATADIR/venv/bin/pip3 install .