reload node config when reload window

This commit is contained in:
codetypes committed 2025-04-14 22:53:51 +08:00
1 parent 5fb3a650fb
commit 5fb19c5c08
7 files changed
+66 -17

No files matched your search

+3 -3
View File
@@ -481,7 +481,7 @@ const alertDeleteFile = (path: string) => {
if (path === workspace.editing?.path) {
workspace.close(path);
}
ipcRenderer.invoke("trashItem", path);
ipcRenderer.invoke("trash-item", path);
}}
>
{i18n.t("moveToTrash")}
@@ -526,7 +526,7 @@ const alertDeleteFolder = (path: string) => {
workspace.close(editor.path);
}
});
ipcRenderer.invoke("trashItem", path);
ipcRenderer.invoke("trash-item", path);
alert.destroy();
}}
>
@@ -812,7 +812,7 @@ export const Explorer: FC = () => {
break;
}
case "revealFile":
ipcRenderer.invoke("showItemInFolder", node.path);
ipcRenderer.invoke("show-item-in-folder", node.path);
break;
case "rename": {
if (b3util.isTreeFile(node.path)) {