Changed: MIT LICENSE -> 996ICU LICENSE

This commit is contained in:
PiEgg
2019-03-30 12:20:00 +08:00
parent 9ab9e1973c
commit af19de7168
2 changed files with 12 additions and 6 deletions

View File

@@ -157,7 +157,8 @@ const handlePluginActions = (ipcMain, CONFIG_PATH) => {
const handleRemoveFiles = (ipcMain, CONFIG_PATH) => {
ipcMain.on('removeFiles', (event, files) => {
const picgo = new PicGo(CONFIG_PATH)
picgo.emit('remove', files)
const guiApi = new GuiApi(ipcMain, event.sender, picgo)
picgo.emit('remove', files, guiApi)
})
}