Browse Source

macOS: use native datadir for Bitcoin Core

The MMGen Project 8 months ago
parent
commit
915e11314f
2 changed files with 2 additions and 2 deletions
  1. 1 1
      mmgen/data/version
  2. 1 1
      mmgen/proto/btc/daemon.py

+ 1 - 1
mmgen/data/version

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

+ 1 - 1
mmgen/proto/btc/daemon.py

@@ -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')