Fixed: some bugs

This commit is contained in:
Molunerfinn
2018-10-10 17:25:44 +08:00
parent c149211def
commit ea5b937c93
2 changed files with 3 additions and 1 deletions

View File

@@ -50,6 +50,7 @@ const handleGetPluginList = (ipcMain, STORE_PATH, CONFIG_PATH) => {
author: pluginPKG.author.name || pluginPKG.author,
description: pluginPKG.description,
logo: 'file://' + path.join(pluginPath, 'logo.png').split(path.sep).join('/'),
version: pluginPKG.version,
config: {
plugin: {
name: pluginList[i].replace(/picgo-plugin-/, ''),