feat(app): open in <app> button (#12322)
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user