macOS: use native datadir for Bitcoin Core

This commit is contained in:
The MMGen Project 2024-07-30 15:59:51 +00:00
commit 915e11314f
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2
2 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
15.0.dev1
15.0.dev2

View file

@ -29,7 +29,7 @@ class bitcoin_core_daemon(CoinDaemon):
nonstd_datadir = False
datadirs = {
'linux': [gc.home_dir,'.bitcoin'],
'darwin': [gc.home_dir, '.bitcoin'],
'darwin': [gc.home_dir, 'Library', 'Application Support', 'Bitcoin'],
'win32': [os.getenv('APPDATA'),'Bitcoin']
}
avail_opts = ('no_daemonize', 'online', 'bdb_wallet')