]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/plugin/install.ts
Remove unmaintained help script
[github/Chocobozzz/PeerTube.git] / scripts / plugin / install.ts
index 0795d7c935673fee073444be618d0d5672bd9b2a..138f34446ef81ea8f687b49ba205a1e07672c06a 100755 (executable)
@@ -32,5 +32,10 @@ async function run () {
   await initDatabaseModels(true)
 
   const toInstall = options.npmName || options.pluginPath
-  await PluginManager.Instance.install(toInstall, options.pluginVersion, !!options.pluginPath)
+  await PluginManager.Instance.install({
+    toInstall,
+    version: options.pluginVersion,
+    fromDisk: !!options.pluginPath,
+    register: false
+  })
 }