refactor: plugin icon and manual install button

pull/81/head
moonrailgun 3 years ago
parent da73f5538c
commit c558839f06

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

@ -37,6 +37,7 @@ export const ManualInstall: React.FC = React.memo(() => {
<Button <Button
loading={loading} loading={loading}
disabled={invalid} disabled={invalid}
type="primary"
onClick={handleInstallPlugin} onClick={handleInstallPlugin}
> >
{t('确认')} {t('确认')}

@ -17,6 +17,7 @@ export function parsePluginManifest(json: string): PluginManifest {
label: { type: 'string' }, label: { type: 'string' },
name: { type: 'string' }, name: { type: 'string' },
url: { type: 'string' }, url: { type: 'string' },
icon: { type: 'string' },
version: { type: 'string' }, version: { type: 'string' },
author: { type: 'string' }, author: { type: 'string' },
description: { type: 'string' }, description: { type: 'string' },

Loading…
Cancel
Save