diff --git a/electron/handlers/app.ts b/electron/handlers/app.ts index d2b3acda1..f688d3d47 100644 --- a/electron/handlers/app.ts +++ b/electron/handlers/app.ts @@ -63,6 +63,15 @@ export function handleAppIPCs() { shell.openExternal(url) }) + /** + * Opens a URL in the user's default browser. + * @param _event - The IPC event object. + * @param url - The URL to open. + */ + ipcMain.handle(AppRoute.openFileExplore, async (_event, url) => { + shell.openPath(url) + }) + /** * Relaunches the app in production - reload window in development. * @param _event - The IPC event object.