From 84030da722926869d6bcc73e12d5691878425d32 Mon Sep 17 00:00:00 2001 From: SrGooglo Date: Mon, 25 Mar 2024 09:26:20 +0100 Subject: [PATCH] renable `pkg:install:ask` --- src/main/commands/install.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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`, {