mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-03-26 21:42:48 +01:00
fixed Default datadir
This commit is contained in:
parent
4bc44269f1
commit
1fec083b0b
1 changed files with 6 additions and 4 deletions
|
@ -333,10 +333,12 @@ object BitcoindConfig extends BitcoinSLogger {
|
|||
"Bitcoin")
|
||||
} else if (Properties.isWin) {
|
||||
Paths.get("C:",
|
||||
"Program Files",
|
||||
"Bitcoin")
|
||||
}
|
||||
else {
|
||||
"Users",
|
||||
Properties.userName,
|
||||
"Appdata",
|
||||
"Roaming",
|
||||
"Bitcoin")
|
||||
} else {
|
||||
Paths.get(Properties.userHome, ".bitcoin")
|
||||
}
|
||||
path.toFile
|
||||
|
|
Loading…
Add table
Reference in a new issue