fix: 移除nc_openwebui_ex_react

This commit is contained in:
手瓜一十雪 committed 2025-01-24 22:09:41 +08:00
1 parent f448064862
commit c38cbf657a
3 files changed
-17

No files matched your search

-7
View File
@@ -8,13 +8,6 @@ ipcMain.handle('napcat_get_webtoken', async (event, arg) => {
ipcMain.on('open_external_url', (event, url) => {
shell.openExternal(url);
});
ipcMain.handle('napcat_get_reactweb', async (event, arg) => {
let url = new URL(await napcat.NCgetWebUiUrl());
let port = url.port;
let token = url.searchParams.get('token');
return `https://napcat.152710.xyz/web_login?back=http://127.0.0.1:${port}&token=${token}`;
});
ipcMain.on('napcat_open_inner_url', (event, url) => {
const win = new BrowserWindow({
autoHideMenuBar: true,