aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaeho Choi2023-02-05 19:31:20 +0000
committerGitHub2023-02-05 19:31:20 +0000
commit0eba0db4a012e9961cf0c5dddf0a4b73f95431b2 (patch)
tree3b91be1fcb4fdf69f1461fd33dfc34940f16193b
parentb2e83f81e10089a0e81ce33c4beb51aefc29a62e (diff)
docs: Fix PowerShell runtime linking command (#5822)
-rw-r--r--README.md3
-rw-r--r--book/src/install.md3
2 files changed, 4 insertions, 2 deletions
diff --git a/README.md b/README.md
index 60125e11..a2667321 100644
--- a/README.md
+++ b/README.md
@@ -72,8 +72,9 @@ elevated privileges - i.e. PowerShell or Cmd must be run as administrator.
**PowerShell:**
```powershell
-New-Item -ItemType SymbolicLink -Target "runtime" -Path "$Env:AppData\helix\runtime"
+New-Item -ItemType Junction -Target "runtime" -Path "$Env:AppData\helix\runtime"
```
+Note: "runtime" must be absolute path to the runtime directory.
**Cmd:**
diff --git a/book/src/install.md b/book/src/install.md
index 792799d7..7df9e6c7 100644
--- a/book/src/install.md
+++ b/book/src/install.md
@@ -123,8 +123,9 @@ elevated privileges - i.e. PowerShell or Cmd must be run as administrator.
**PowerShell:**
```powershell
-New-Item -ItemType SymbolicLink -Target "runtime" -Path "$Env:AppData\helix\runtime"
+New-Item -ItemType Junction -Target "runtime" -Path "$Env:AppData\helix\runtime"
```
+Note: "runtime" must be the absolute path to the runtime directory.
**Cmd:**