From 09a6f1518ffaf2c68c93ceb8c23689431c59c7c6 Mon Sep 17 00:00:00 2001 From: thatben Date: Fri, 14 Feb 2025 10:00:01 +0100 Subject: [PATCH] adds message that terminal restart may be needed --- src/handlers/installationHandlers.js | 4 +++- win.md | 5 ----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/handlers/installationHandlers.js b/src/handlers/installationHandlers.js index 6256a95..6616416 100644 --- a/src/handlers/installationHandlers.js +++ b/src/handlers/installationHandlers.js @@ -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( diff --git a/win.md b/win.md index 0f82bb3..48e620a 100644 --- a/win.md +++ b/win.md @@ -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.)