adds message that terminal restart may be needed

This commit is contained in:
thatben 2025-02-14 10:00:01 +01:00
parent 993625affc
commit 09a6f1518f
No known key found for this signature in database
GPG Key ID: 62C543548433D43E
2 changed files with 3 additions and 6 deletions

View File

@ -94,7 +94,9 @@ export async function installCodex(showNavigationMenu) {
try {
await runCommand('setx PATH "%PATH%;%LOCALAPPDATA%\\Codex"');
spinner.success();
console.log(showSuccessMessage('Codex has been installed and PATH has been updated automatically!'));
console.log(showSuccessMessage('Codex has been installed and PATH has been updated automatically!\n' +
`You may need to restart your terminal.`
));
} catch (error) {
spinner.success();
console.log(showInfoMessage(

5
win.md
View File

@ -15,8 +15,3 @@
### In repository root
- 'npm install' successfully installs package
- 'npm start' run the CLI tool
### Using CLI tool
- After installing Codex: Restart of terminal was required.
- Attempt to start Codex failed: command for firewall modification failed.
- Disabled firewall commands and tried again: tool reports Codex is running and to open a new terminal to interact with it. Then (with no action) the tool stops. (No Codex process is running.)