takuya 3 лет назад
Родитель
Сommit
154a0a9027
1 измененных файлов с 1 добавлено и 1 удалено
  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;