From b6a1a59072130d88a894482015ecff4b4ce02678 Mon Sep 17 00:00:00 2001 From: XMRZombie Date: Mon, 7 Apr 2025 14:07:56 +0000 Subject: [PATCH] Update haveno-with-external-tor.sh Updating path finding method --- scripts/deployment/haveno-with-external-tor.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/deployment/haveno-with-external-tor.sh b/scripts/deployment/haveno-with-external-tor.sh index a89bc83a61..70cf03cee9 100644 --- a/scripts/deployment/haveno-with-external-tor.sh +++ b/scripts/deployment/haveno-with-external-tor.sh @@ -1,5 +1,6 @@ #!/bin/sh -TORHOME="$HOME/.local/share/Haveno/xmr_mainnet/tor" +HAVENOHOME=$(find $HOME/.local/share -type d -name Haveno*) +TORHOME="$HAVENOHOME/xmr_mainnet/tor" tor -f $TORHOME/torrc --ControlPortWriteToFile $TORHOME/.tor/control.port --DisableNetwork 0 /opt/haveno/bin/Haveno --torControlUseSafeCookieAuth --torControlCookieFile=$TORHOME/.tor/control_auth_cookie --torControlPort=$(cat $TORHOME/.tor/control.port | sed 's/.*:\([0-9]\+\)/\1/') kill $(cat $TORHOME/pid)