windows powershell install fix

This commit is contained in:
Brian Madison
2025-11-04 21:58:41 -06:00
parent 7552ee2e3b
commit 1f0dfe05e4
29 changed files with 1533 additions and 38 deletions

View File

@@ -82,15 +82,15 @@ class UI {
// If actionType === 'update' or 'reinstall', continue with normal flow below
}
// Collect IDE tool selection EARLY (before module configuration)
// This allows users to make all decisions upfront before file copying begins
const toolSelection = await this.promptToolSelection(confirmedDirectory, []);
const { installedModuleIds } = await this.getExistingInstallation(confirmedDirectory);
const coreConfig = await this.collectCoreConfig(confirmedDirectory);
const moduleChoices = await this.getModuleChoices(installedModuleIds);
const selectedModules = await this.selectModules(moduleChoices);
// Collect IDE tool selection AFTER configuration prompts (fixes Windows/PowerShell hang)
// This allows text-based prompts to complete before the checkbox prompt
const toolSelection = await this.promptToolSelection(confirmedDirectory, selectedModules);
console.clear();
CLIUtils.displayLogo();
CLIUtils.displayModuleComplete('core', false); // false = don't clear the screen again
@@ -100,7 +100,7 @@ class UI {
directory: confirmedDirectory,
installCore: true, // Always install core
modules: selectedModules,
// IDE selection collected early, will be configured later
// IDE selection collected after config, will be configured later
ides: toolSelection.ides,
skipIde: toolSelection.skipIde,
coreConfig: coreConfig, // Pass collected core config to installer