support search file desc

This commit is contained in:
codetypes committed 2024-05-08 00:09:18 +08:00
1 parent 6d00be9d3b
commit b693855012
13 files changed
+154 -40

No files matched your search

+5
View File
@@ -171,3 +171,8 @@ ipcMain.handle("trashItem", (_, arg: string) => {
arg = arg.replace(/\//g, path.sep);
shell.trashItem(arg).catch((e) => console.error(e));
});
ipcMain.handle("showItemInFolder", (_, arg: string) => {
arg = arg.replace(/\//g, path.sep);
shell.showItemInFolder(arg);
});