Fixed: image-size bug && change config all to settings

This commit is contained in:
Molunerfinn
2018-09-27 17:22:14 +08:00
parent 804072999e
commit 5909d35566
11 changed files with 81 additions and 63 deletions

View File

@@ -65,7 +65,8 @@ export default (app, ipcMain) => {
config: handleConfigWithFunction(getConfig(uploaderName, 'transformer', picgo))
}
},
enabled: picgo.getConfig(`plugins.${pluginList[i]}`)
enabled: picgo.getConfig(`plugins.${pluginList[i]}`),
pkg: pluginPKG
}
list.push(obj)
}