Create haveno_paths.sh

Setting symlink for having haveno accessible from /bin and one in monero wallets directory for getting haveno wallets
This commit is contained in:
XMRZombie 2024-12-16 12:23:59 +00:00 committed by GitHub
parent 9ec2794931
commit 609c1c95ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,7 @@
#!/bin/bash
HAVENO_BIN=$(find /opt/haveno/bin/ -type f -executable -name "Haveno")
HAVENO_WALLET=$(find ~/.local/share/Haveno -type d -name "wallet")
echo "creating symlink to" $HAVENO_BIN "in" /bin
echo "creating symlink to" $HAVENO_WALLET "in" ~/Monero/wallets/Haveno_wallets/
ln -s $HAVENO_BIN ~/bin/Haveno
ln -s $HAVENO_WALLET ~/Monero/wallets/Haveno_wallets/