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
|
|
@ -15,6 +15,7 @@ import textmate from "../assets/icons/app/textmate.png"
|
|||
import vscode from "../assets/icons/app/vscode.svg"
|
||||
import xcode from "../assets/icons/app/xcode.png"
|
||||
import zed from "../assets/icons/app/zed.svg"
|
||||
import sublimetext from "../assets/icons/app/sublimetext.svg"
|
||||
|
||||
const icons = {
|
||||
vscode,
|
||||
|
|
@ -30,6 +31,7 @@ const icons = {
|
|||
antigravity,
|
||||
textmate,
|
||||
powershell,
|
||||
"sublime-text": sublimetext,
|
||||
} satisfies Record<IconName, string>
|
||||
|
||||
export type AppIconProps = Omit<ComponentProps<"img">, "src"> & {
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ export const iconNames = [
|
|||
"antigravity",
|
||||
"textmate",
|
||||
"powershell",
|
||||
"sublime-text",
|
||||
] as const
|
||||
|
||||
export type IconName = (typeof iconNames)[number]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue