(url: string)
| 19 | } |
| 20 | |
| 21 | export function openExternal(url: string): void { |
| 22 | const shell = getElectronShell(); |
| 23 | if (shell) { |
| 24 | void shell.openExternal(url); |
| 25 | return; |
| 26 | } |
| 27 | window.open(url, "_blank"); |
| 28 | } |
| 29 | |
| 30 | export function showItemInFolder(fullPath: string): void { |
| 31 | const shell = getElectronShell(); |
no test coverage detected