mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-07-27 16:59:03 +08:00
Changed: npm search api url
This commit is contained in:
@@ -35,7 +35,6 @@ const handleConfigWithFunction = config => {
|
||||
|
||||
const handleGetPluginList = (ipcMain, STORE_PATH, CONFIG_PATH) => {
|
||||
ipcMain.on('getPluginList', event => {
|
||||
console.log(CONFIG_PATH)
|
||||
const picgo = new PicGo(CONFIG_PATH)
|
||||
const pluginList = picgo.pluginLoader.getList()
|
||||
const list = []
|
||||
|
||||
@@ -62,6 +62,7 @@ const waitForRename = (window, id) => {
|
||||
|
||||
const uploader = (img, type, webContents) => {
|
||||
const picgo = new PicGo(CONFIG_PATH)
|
||||
picgo.config.debug = true
|
||||
let input = []
|
||||
switch (type) {
|
||||
case 'imgFromClipboard':
|
||||
|
||||
Reference in New Issue
Block a user