mirror of
https://github.com/ragestudio/relic.git
synced 2025-06-09 10:34:18 +00:00
renable pkg:install:ask
This commit is contained in:
parent
c949eea9ac
commit
84030da722
@ -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`, {
|
sendToRender(`pkg:update:status`, {
|
||||||
id: pkg_id,
|
id: pkg_id,
|
||||||
status: "installed",
|
status: "installed",
|
||||||
@ -113,6 +109,10 @@ export default async function install(manifest) {
|
|||||||
message: `Successfully installed ${pkg.name}!`,
|
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}!`)
|
console.log(`[${pkg_id}] install() | Successfully installed ${pkg.name}!`)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
sendToRender(`pkg:update:status`, {
|
sendToRender(`pkg:update:status`, {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user