Oroqen-Manage/electron/ipc/index.ts

5 lines
141 B
TypeScript
Raw Permalink Normal View History

2025-08-07 21:32:38 +08:00
import {ipcMain} from 'electron'
import {openInBrowser} from "../utils";
ipcMain.on('open-in-browser', (event, url) => openInBrowser(url));