Fix default base path on windows (#6120)

* Use directories instead of app_dirs

* Use local data dir
This commit is contained in:
Arkadiy Paronyan
2020-05-25 13:25:49 +02:00
committed by GitHub
parent 0133185c81
commit 56819a09a4
3 changed files with 6 additions and 49 deletions
+1 -39
View File
@@ -112,18 +112,6 @@ version = "1.0.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2494382e9ba43995f3c56359e518641f450f5c36feeb4632a75cde2ec297c867"
[[package]]
name = "app_dirs"
version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e73a24bad9bd6a94d6395382a6c69fe071708ae4409f763c5475e14ee896313d"
dependencies = [
"ole32-sys",
"shell32-sys",
"winapi 0.2.8",
"xdg",
]
[[package]]
name = "approx"
version = "0.3.2"
@@ -3906,16 +3894,6 @@ version = "0.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9cbca9424c482ee628fa549d9c812e2cd22f1180b9222c9200fdfa6eb31aecb2"
[[package]]
name = "ole32-sys"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5d2c49021782e5233cd243168edfa8037574afed4eba4bbaf538b3d8d1789d8c"
dependencies = [
"winapi 0.2.8",
"winapi-build",
]
[[package]]
name = "once_cell"
version = "1.4.0"
@@ -5980,10 +5958,10 @@ name = "sc-cli"
version = "0.8.0-dev"
dependencies = [
"ansi_term 0.12.1",
"app_dirs",
"atty",
"chrono",
"derive_more",
"directories",
"env_logger 0.7.1",
"fdlimit",
"futures 0.3.5",
@@ -7145,16 +7123,6 @@ dependencies = [
"opaque-debug",
]
[[package]]
name = "shell32-sys"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9ee04b46101f57121c9da2b151988283b6beb79b34f5bb29a58ee48cb695122c"
dependencies = [
"winapi 0.2.8",
"winapi-build",
]
[[package]]
name = "shlex"
version = "0.1.1"
@@ -9618,12 +9586,6 @@ dependencies = [
"zeroize",
]
[[package]]
name = "xdg"
version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d089681aa106a86fade1b0128fb5daf07d5867a509ab036d99988dec80429a57"
[[package]]
name = "yamux"
version = "0.4.5"