Pārlūkot izejas kodu

修改拖动文件图标

master
kim131 pirms 4 gadiem
vecāks
revīzija
34e05bfa63
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      src/main/index.js

+ 1
- 1
src/main/index.js Parādīt failu

@@ -134,7 +134,7 @@ ipcMain.handle('project-choose-folders', async (event, args) => {
}); });
return res; return res;
}); });
const testIcon = nativeImage.createFromPath(path.resolve(__dirname, 'file_word.png'));
const testIcon = nativeImage.createFromPath(path.resolve(__dirname, 'file-icon.png'));


ipcMain.handle('project-file-dnd', (event, filePath) => { ipcMain.handle('project-file-dnd', (event, filePath) => {
console.log('receive file path: ', filePath) console.log('receive file path: ', filePath)


Notiek ielāde…
Atcelt
Saglabāt