Browse Source

master branch only

takuya 3 years ago
parent
commit
154a0a9027
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

@@ -46,7 +46,7 @@ export class PluginService {
     // TODO: detect plugins
     // save plugin metadata
     const ghRepositoryName = ghUrl.split('/').slice(-1)[0];
-    const installedPath = path.join(downloadDir, ghRepositoryName, 'meta.json');
+    const installedPath = path.join(downloadDir, `${ghRepositoryName}-master`, 'meta.json');
     await this.savePluginMetaData(installedPath);
 
     return;