mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-02-02 02:58:13 -05:00
parent
a79efbfcc3
commit
8d861be161
@ -321,7 +321,7 @@ const handlePicGoGalleryDB = () => {
|
|||||||
event.sender.send(PICGO_REMOVE_BY_ID_DB, res, callbackId)
|
event.sender.send(PICGO_REMOVE_BY_ID_DB, res, callbackId)
|
||||||
})
|
})
|
||||||
|
|
||||||
ipcMain.handle(PASTE_TEXT, async (item: ImgInfo, copy = true) => {
|
ipcMain.handle(PASTE_TEXT, async (_, item: ImgInfo, copy = true) => {
|
||||||
const pasteStyle = picgo.getConfig<IPasteStyle>('settings.pasteStyle') || IPasteStyle.MARKDOWN
|
const pasteStyle = picgo.getConfig<IPasteStyle>('settings.pasteStyle') || IPasteStyle.MARKDOWN
|
||||||
const customLink = picgo.getConfig<string>('settings.customLink')
|
const customLink = picgo.getConfig<string>('settings.customLink')
|
||||||
const txt = pasteTemplate(pasteStyle, item, customLink)
|
const txt = pasteTemplate(pasteStyle, item, customLink)
|
||||||
|
Loading…
Reference in New Issue
Block a user