This commit is contained in:
zh
2025-09-18 20:54:17 +08:00
36 changed files with 2989 additions and 590 deletions

View File

@ -195,6 +195,7 @@ function createWindow(): void {
});
});
// 监听渲染进程创建新窗口的请求
// @ts-ignore
ipcMain.handle('create-new-window', async (event, params, url, option) => {
try {
const newWindow = await new BrowserWindow(params)