mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-03-03 10:46:42 +01:00
Merge pull request #586 from cwaldron97/2019-07-09-Small-Windows-Tweak
Fixed Incorrect Windows Default Datadir
This commit is contained in:
commit
b2c7389cd4
1 changed files with 6 additions and 4 deletions
|
@ -333,10 +333,12 @@ object BitcoindConfig extends BitcoinSLogger {
|
||||||
"Bitcoin")
|
"Bitcoin")
|
||||||
} else if (Properties.isWin) {
|
} else if (Properties.isWin) {
|
||||||
Paths.get("C:",
|
Paths.get("C:",
|
||||||
"Program Files",
|
"Users",
|
||||||
"Bitcoin")
|
Properties.userName,
|
||||||
}
|
"Appdata",
|
||||||
else {
|
"Roaming",
|
||||||
|
"Bitcoin")
|
||||||
|
} else {
|
||||||
Paths.get(Properties.userHome, ".bitcoin")
|
Paths.get(Properties.userHome, ".bitcoin")
|
||||||
}
|
}
|
||||||
path.toFile
|
path.toFile
|
||||||
|
|
Loading…
Add table
Reference in a new issue