mac fixes
This commit is contained in:
parent
471464905f
commit
67425e6c22
2 changed files with 10 additions and 1 deletions
|
|
@ -89,6 +89,15 @@ install_lightning_pub() {
|
|||
upgrade_status=0
|
||||
mkdir -p "$(dirname "$INSTALL_DIR")"
|
||||
mv "$EXTRACT_DIR" "$INSTALL_DIR"
|
||||
|
||||
# Create .env with OS-specific LND paths
|
||||
if [ "$OS" = "Mac" ]; then
|
||||
cat > "$INSTALL_DIR/.env" <<EOF
|
||||
LND_ADDRESS=127.0.0.1:10009
|
||||
LND_CERT_PATH=$HOME/Library/Application Support/Lnd/tls.cert
|
||||
LND_MACAROON_PATH=$HOME/Library/Application Support/Lnd/data/chain/bitcoin/mainnet/admin.macaroon
|
||||
EOF
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue