mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-05-24 17:50:24 +08:00
Added: clipboard image handler for picgo-core
This commit is contained in:
@@ -84,8 +84,9 @@ class Uploader {
|
||||
upload () {
|
||||
const win = BrowserWindow.fromWebContents(this.webContents)
|
||||
const picgo = new PicGo(CONFIG_PATH)
|
||||
console.log(picgo.pluginLoader.getList())
|
||||
picgo.config.debug = true
|
||||
// for picgo-core
|
||||
picgo.config.PICGO_ENV = 'GUI'
|
||||
let input = this.img
|
||||
|
||||
picgo.helper.beforeUploadPlugins.register('renameFn', {
|
||||
|
||||
Reference in New Issue
Block a user