Skip to content

Commit

Permalink
fix: review finder and view as json (#1000)
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-jan authored Dec 14, 2023
1 parent 01939af commit e71de25
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions electron/handlers/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit e71de25

Please sign in to comment.