diff options
Diffstat (limited to 'scripts/plugin/install.ts')
-rwxr-xr-x | scripts/plugin/install.ts | 7 |
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 | } |