|
|
@ -148,7 +148,7 @@ accessible, you must follow the instructions for your operating system:
|
|
|
|
|
|
|
|
|
|
|
|
Either,
|
|
|
|
Either,
|
|
|
|
|
|
|
|
|
|
|
|
1. Set the `HELIX_RUNTIME` environmental variable on your system to tell Helix
|
|
|
|
1. Set the `HELIX_RUNTIME` environment variable on your system to tell Helix
|
|
|
|
where to find the runtime files.
|
|
|
|
where to find the runtime files.
|
|
|
|
|
|
|
|
|
|
|
|
Use the `HELIX_RUNTIME=/path/to/helix/runtime` format, for example:
|
|
|
|
Use the `HELIX_RUNTIME=/path/to/helix/runtime` format, for example:
|
|
|
@ -160,7 +160,9 @@ Or,
|
|
|
|
2. Create a symlink in `~/.config/helix/` that links to the source code
|
|
|
|
2. Create a symlink in `~/.config/helix/` that links to the source code
|
|
|
|
directory.
|
|
|
|
directory.
|
|
|
|
|
|
|
|
|
|
|
|
`ln -s $PWD/runtime ~/.config/helix/runtime`
|
|
|
|
```sh
|
|
|
|
|
|
|
|
ln -s $PWD/runtime ~/.config/helix/runtime
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
And optionally:
|
|
|
|
And optionally:
|
|
|
|
|
|
|
|
|
|
|
@ -186,25 +188,30 @@ sed -i "s|Terminal=true|Terminal=false|g" ~/.local/share/applications/Helix.desk
|
|
|
|
|
|
|
|
|
|
|
|
- Windows
|
|
|
|
- Windows
|
|
|
|
|
|
|
|
|
|
|
|
> TODO Add correct file paths after feedback
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Either,
|
|
|
|
Either,
|
|
|
|
|
|
|
|
|
|
|
|
1. Set the `HELIX_RUNTIME` environmental variable on your system to tell Helix
|
|
|
|
1. Set the `HELIX_RUNTIME` environment variable on your system to tell Helix
|
|
|
|
where to find the runtime files.
|
|
|
|
where to find the runtime files.
|
|
|
|
|
|
|
|
|
|
|
|
Use the `???` format, for example: `???`. Add this variable to your `???`
|
|
|
|
You can either do this using the Windows settings (search for `Edit
|
|
|
|
file or equivalent to persist it.
|
|
|
|
environment variables for your account`) or use the `setx` command in Cmd:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
|
|
|
setx HELIX_RUNTIME "%userprofile%\source\repos\helix\runtime"
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
> 💡 `%userprofile%` resolves to your user directory like
|
|
|
|
|
|
|
|
> `C:\Users\Your-Name\` for example.
|
|
|
|
|
|
|
|
|
|
|
|
Or,
|
|
|
|
Or,
|
|
|
|
|
|
|
|
|
|
|
|
2. Create a symlink in `???` that links to the source code directory.
|
|
|
|
2. Create a symlink in `%appdata%\helix\` that links to the source
|
|
|
|
|
|
|
|
code directory.
|
|
|
|
|
|
|
|
|
|
|
|
| Method | Command |
|
|
|
|
| Method | Command |
|
|
|
|
| ---------- | -------------------------------------------------------------------------------------- |
|
|
|
|
| ---------- | -------------------------------------------------------------------------------------- |
|
|
|
|
| PowerShell | `New-Item -ItemType SymbolicLink -Target "runtime" -Path "$Env:AppData\helix\runtime"` |
|
|
|
|
| PowerShell | `New-Item -ItemType SymbolicLink -Target "runtime" -Path "$Env:AppData\helix\runtime"` |
|
|
|
|
| Cmd | `cd %appdata%\helix` |
|
|
|
|
| Cmd | `cd %appdata%\helix` <br/> `mklink /D runtime "%userprofile%\src\helix\runtime"` |
|
|
|
|
| | `mklink /D runtime "<helix-repo>\runtime"` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
> 💡 On Windows, creating a symbolic link may require running PowerShell or Cmd
|
|
|
|
> 💡 On Windows, creating a symbolic link may require running PowerShell or Cmd
|
|
|
|
> as an administrator.
|
|
|
|
> as an administrator.
|
|
|
|