1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-13 00:10:37 +02:00

Plugin Repo: Add support for source maps

This commit is contained in:
Laurent Cozic
2021-12-22 11:28:05 +01:00
parent 780f2ea12b
commit bc9dac2feb
5 changed files with 48 additions and 2 deletions

View File

@ -41,6 +41,8 @@ async function getPluginInfos(pluginRepoDir: string): Promise<PluginInfo[]> {
for (const pluginDir of pluginDirs) {
const basePath = `${pluginRepoDir}/plugins/${pluginDir}`;
if (!(await stat(basePath)).isDirectory()) continue;
const manifest = JSON.parse(await readFile(`${basePath}/manifest.json`, 'utf8'));
output.push({
id: manifest.id,