Compare commits

...

2 commits

Author SHA1 Message Date
nahuhh
d7e379d89b install: xfce .profile use in .xsessionrc 2024-07-08 13:37:49 +00:00
nahuhh
11d64eeca5 wownero master 2024-06-21 20:48:18 -05:00
3 changed files with 9 additions and 2 deletions

View file

@ -15,7 +15,7 @@ $SWAP_DATADIR/venv/bin/pip install .
## Clone basicswap git
cd $SWAP_DATADIR
git clone https://github.com/basicswap/basicswap -b dev
git clone https://github.com/basicswap/basicswap
cd $SWAP_DATADIR/basicswap
## Install basicswap
$SWAP_DATADIR/venv/bin/pip install .

View file

@ -18,7 +18,7 @@ rm -rf $SWAP_DATADIR/basicswap/build
# Switch to new repo: basicswap/basicswap
git remote set-url origin https://github.com/basicswap/basicswap
# Fix conflicts from force-pushes and rebase
git reset HEAD~50 --hard
git checkout master
# Pull repo
git pull
# Install

View file

@ -61,6 +61,7 @@ detect_os_arch() {
fi
}
detect_os_arch
## Update & Install dependencies
@ -172,6 +173,12 @@ if [ -d $HOME/.local/bin/bsx ]; then
rm -r $HOME/.local/bin/bsx* $HOME/.local/bin/basicswap-bash
fi
mv -f -t $HOME/.local/bin/ basicswap-bash bsx*
# Enable .profile detection on XFCE
xfce_check=$(echo $XDG_CURRENT_DESKTOP | grep XFCE)
xsessionrc_check=$(cat ~/.xsessionrc | grep '. ~/.profile')
if [[ $xfce_chek ]] && [[ -z $xsessionrc_check ]]; then
echo '. ~/.profile' | tee -a ~/.xsessionrc
fi
## Make venv and set variables for install
export SWAP_DATADIR=$HOME/coinswaps