File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,10 @@ We also provide the version of PowerShell in the FileVersion object associated w
44
44
an in-place update of that preview build shall be performed.
45
45
* No installation of a preview build shall interfere with a stable build, and vice versa
46
46
* This includes an implicit requirement that ` Install-PowerShellRemoting.ps1 ` create a different endpoint name for the preview build.
47
- * The preview binary of PowerShell Core 6.x shall be named ` pwsh-preview ` or ` pwsh-preview.exe ` (depending on the platform).
47
+ * The preview of PowerShell Core 6.x shall not be placed on the ` PATH ` .
48
+ Instead, we should create a subdirectory in ` $PSHOME ` called ` bin ` ,
49
+ create a ` .cmd ` file that launches the preview ` pwsh.exe ` ,
50
+ and add ` $PSHOME\bin ` to the ` PATH ` .
48
51
49
52
## Alternate Considerations and Proposals
50
53
@@ -63,8 +66,6 @@ they should do a portable ZIP install.
63
66
64
67
## Open Questions
65
68
66
- * What happens if ` ...\6\pwsh.exe ` and ` ...\6-preview\pwsh.exe ` are both on the PATH?
67
- Is it even desirable to put ` ...\6-preview\pwsh.exe ` on the PATH?
68
69
* Should an update install of stable PowerShell Core 6.0 to 6.1 also do a cleanup of any remaining preview 6.1 installs on the box?
69
70
* I'd posit "no" because the stable vs. preview branches should be independent installations.
70
71
E.g. I may want to immediately do an update of my preview 6.1 to 6.2,
You can’t perform that action at this time.
0 commit comments