refactor: react webui

This commit is contained in:
手瓜一十雪 committed 2024-11-29 12:22:25 +08:00
1 parent 53c1d40bcf
commit 31b0c1d3d7
4 files changed
+23 -2

No files matched your search

+3
View File
@@ -5,6 +5,9 @@ const napcat = {
},
openExternalUrl: async (url) => {
ipcRenderer.send('open_external_url', url);
},
getWebUiUrlReact: async () => {
return ipcRenderer.invoke('napcat_get_reactweb');
}
};
// 在window对象下导出只读对象