Commit 607bea7
authored
Fix Windows PATH issue in install.bat
setx reads from the session %PATH% (system + user combined) and silently
truncates at 1024 characters, corrupting the user PATH on install. Use
PowerShell's SetEnvironmentVariable to append only to the user PATH from
the registry, with no length limit.
Also fix the warmup call to use the full installed path instead of relying
on the new PATH entry being active in the current session.1 parent ea0a076 commit 607bea7
2 files changed
Lines changed: 14 additions & 2 deletions
File tree
- .changes/next-release
- smithy-cli/configuration
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
34 | 39 | | |
35 | 40 | | |
36 | 41 | | |
| |||
0 commit comments