bitcoin-tools / nodebuilder

Run a secure Bitcoin Core node with ease.
MIT No Attribution
7 stars 1 forks source link

[BUG] - on macOS, script is launching bitcoind not bitcoin-qt #1509

Open bitcoin-tools opened 2 months ago

bitcoin-tools commented 2 months ago

Expected Behavior

should launch bitcoin-qt on macOS

Actual Behavior

+ printf '[%s]  INFO: %s\n' 2024-09-15T15:29:34 'Starting Bitcoin Core.'
[2024-09-15T15:29:34]  INFO: Starting Bitcoin Core.
+ is_running_in_ci
+ '[' false = true ']'
+ return 1
+ is_running_in_container
+ '[' -f /proc/1/cgroup ']'
+ '[' -f /proc/1/mountinfo ']'
+ return 1
+ '[' -z '' ']'
+ bitcoind --daemonwait '--datadir=/Users/user1/Library/Application Support/Bitcoin'
+ log_info 'Checking the RPC status.'

Steps to Reproduce

Optional Screenshots

No response

Optional Logs

No response

Operating System

No response

Operating System version

No response

bitcoin-tools commented 2 months ago

This is because macOS doesn't use the DISPLAY environmental variable.

  [ -z "${DISPLAY:-}" ] ||