diff --git a/src/main/commands/install.js b/src/main/commands/install.js index 7f84c19..68012c3 100644 --- a/src/main/commands/install.js +++ b/src/main/commands/install.js @@ -100,10 +100,6 @@ export default async function install(manifest) { }) } - // if (Array.isArray(pkg.install_ask_configs)) { - // sendToRender("pkg:install:ask", pkg) - // } - sendToRender(`pkg:update:status`, { id: pkg_id, status: "installed", @@ -113,6 +109,10 @@ export default async function install(manifest) { message: `Successfully installed ${pkg.name}!`, }) + if (Array.isArray(pkg.install_ask_configs)) { + sendToRender("pkg:install:ask", pkg) + } + console.log(`[${pkg_id}] install() | Successfully installed ${pkg.name}!`) } catch (error) { sendToRender(`pkg:update:status`, {