mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-05-21 08:11:25 +08:00
Updated: home page webpack config
This commit is contained in:
@@ -359,6 +359,7 @@ const uploadClipboardFiles = async () => {
|
||||
|
||||
picgoCoreIPC(app, ipcMain)
|
||||
|
||||
// from macOS tray
|
||||
ipcMain.on('uploadClipboardFiles', async (evt, file) => {
|
||||
const img = await new Uploader(file, 'imgFromClipboard', window.webContents).upload()
|
||||
if (img !== false) {
|
||||
|
||||
Reference in New Issue
Block a user