This commit is contained in:
Jan Prochazka
2021-04-15 17:22:53 +02:00
parent 419ab985c1
commit 4dfaf1346e
13 changed files with 70 additions and 114 deletions

View File

@@ -11,6 +11,10 @@ export function extractPluginIcon(packageManifest) {
if (match) {
return `https://raw.githubusercontent.com/${match[1]}/${match[2]}/master/icon.svg`;
}
if (tested == 'https://dbgate.org') {
return `https://github.com/dbgate/dbgate/raw/master/plugins/${packageManifest.name}/icon.svg`;
}
}
return 'unknown.svg';
}