takuya 3 years ago
parent
commit
ed934cc0f4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/app/src/server/service/plugin.ts

+ 1 - 1
packages/app/src/server/service/plugin.ts

@@ -45,7 +45,7 @@ export class PluginService {
 
     // save plugin metadata
     const ghRepositoryName = ghUrl.split('/').slice(-1)[0];
-    const installedPath = path.join(downloadDir, `${ghRepositoryName}-main`);
+    const installedPath = path.join(`${ghRepositoryName}-main`);
     const plugins = await PluginService.detectPlugins(origin, installedPath);
     await this.savePluginMetaData(plugins);