feat(app): open in <app> button (#12322)
This commit is contained in:
parent
83646e0366
commit
b738d88ec4
24 changed files with 452 additions and 11 deletions
|
|
@ -15,6 +15,9 @@ export type Platform = {
|
|||
/** Open a URL in the default browser */
|
||||
openLink(url: string): void
|
||||
|
||||
/** Open a local path in a local app (desktop only) */
|
||||
openPath?(path: string, app?: string): Promise<void>
|
||||
|
||||
/** Restart the app */
|
||||
restart(): Promise<void>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue