aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/plugin/install.ts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/plugin/install.ts')
-rwxr-xr-xscripts/plugin/install.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/plugin/install.ts b/scripts/plugin/install.ts
index 0795d7c93..138f34446 100755
--- a/scripts/plugin/install.ts
+++ b/scripts/plugin/install.ts
@@ -32,5 +32,10 @@ async function run () {
32 await initDatabaseModels(true) 32 await initDatabaseModels(true)
33 33
34 const toInstall = options.npmName || options.pluginPath 34 const toInstall = options.npmName || options.pluginPath
35 await PluginManager.Instance.install(toInstall, options.pluginVersion, !!options.pluginPath) 35 await PluginManager.Instance.install({
36 toInstall,
37 version: options.pluginVersion,
38 fromDisk: !!options.pluginPath,
39 register: false
40 })
36} 41}