feat(desktop): added Macos support for displaying only installed editors & added sublime text editor (#12501)
This commit is contained in:
parent
3f7ca0494b
commit
8069197329
8 changed files with 127 additions and 22 deletions
|
|
@ -62,6 +62,9 @@ export type Platform = {
|
|||
|
||||
/** Webview zoom level (desktop only) */
|
||||
webviewZoom?: Accessor<number>
|
||||
|
||||
/** Check if an editor app exists (desktop only) */
|
||||
checkAppExists?(appName: string): Promise<boolean>
|
||||
}
|
||||
|
||||
export const { use: usePlatform, provider: PlatformProvider } = createSimpleContext({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue