mirror of https://github.com/dapr/cli.git
Modify path DaprRoot add the SystemDrive environment variable (#989)
* Modify path DaprRoot add the SystemDrive environment variable Signed-off-by: HueiFeng <695979933@qq.com> Signed-off-by: hueifeng <695979933@qq.com> * Update installdaprwin.yml Signed-off-by: hueifeng <695979933@qq.com> * Update README.md Signed-off-by: hueifeng <695979933@qq.com> Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
This commit is contained in:
parent
9c8de2ca96
commit
6e366cd24b
|
@ -48,7 +48,7 @@ jobs:
|
|||
uses: Amadevus/pwsh-script@v2.0.1
|
||||
with:
|
||||
script: |
|
||||
$Env:Path += ";c:\dapr"
|
||||
$Env:Path += ";$Env:SystemDrive\dapr"
|
||||
$output=dapr --version
|
||||
$runtimeVerified = False
|
||||
$cliVerified = False
|
||||
|
|
|
@ -25,7 +25,7 @@ Note, if you are a new user, it is strongly recommended to install Docker and us
|
|||
|
||||
**Windows**
|
||||
|
||||
Install the latest windows Dapr CLI to `c:\dapr` and add this directory to User PATH environment variable. Use `-DaprRoot [path]` to change the default installation directory
|
||||
Install the latest windows Dapr CLI to `$Env:SystemDrive\dapr` and add this directory to User PATH environment variable. Use `-DaprRoot [path]` to change the default installation directory
|
||||
|
||||
```powershell
|
||||
powershell -Command "iwr -useb https://raw.githubusercontent.com/dapr/cli/master/install/install.ps1 | iex"
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
# ------------------------------------------------------------
|
||||
param (
|
||||
[string]$Version,
|
||||
[string]$DaprRoot = "c:\dapr",
|
||||
[string]$DaprRoot = "$Env:SystemDrive\dapr",
|
||||
[string]$DaprReleaseJsonUrl = "",
|
||||
[scriptblock]$CustomAssetFactory = $null
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue