refactor(installer): remove logo display and setBmadFolderName from install()

Logo display belongs in ui.js, not install(). setBmadFolderName call
was redundant — IdeManager constructor already defaults to the same
constant. Remove dead CLIUtils import.
This commit is contained in:
Alex Verkhovsky 2026-03-21 21:51:48 -06:00
parent 2c84ed8482
commit e0e59e66bf
1 changed files with 0 additions and 7 deletions

View File

@ -9,7 +9,6 @@ const { FileOps } = require('../../../lib/file-ops');
const { Config } = require('../../../lib/config');
const { ConfigCollector } = require('./config-collector');
const { getProjectRoot, getSourcePath, getModulePath } = require('../../../lib/project-root');
const { CLIUtils } = require('../../../lib/cli-utils');
const { ManifestGenerator } = require('./manifest-generator');
const { IdeConfigManager } = require('./ide-config-manager');
const { CustomHandler } = require('../custom-handler');
@ -47,18 +46,12 @@ class Installer {
// Everything else — custom modules, quick-update state, the whole mess
const customConfig = { ...originalConfig };
// if core config isn't collected, we haven't run the UI -> display logo/version
if (!config.hasCoreConfig()) {
await CLIUtils.displayLogo();
}
const paths = await InstallPaths.create(config);
// Collect configurations for official modules
const moduleConfigs = await this._collectConfigs(config, paths);
await this.customModules.discoverPaths(config, paths);
this.ideManager.setBmadFolderName(BMAD_FOLDER_NAME);
try {
const existingInstall = await this.detector.detect(paths.bmadDir);