mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-08-01 19:28:13 +08:00
@@ -181,7 +181,9 @@ const handleRemoveFiles = (ipcMain, CONFIG_PATH) => {
|
||||
ipcMain.on('removeFiles', (event, files) => {
|
||||
const picgo = new PicGo(CONFIG_PATH)
|
||||
const guiApi = new GuiApi(ipcMain, event.sender, picgo)
|
||||
picgo.emit('remove', files, guiApi)
|
||||
setTimeout(() => {
|
||||
picgo.emit('remove', files, guiApi)
|
||||
}, 500)
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user