mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-14 13:22:37 +00:00
fix(desktop): show Android Studio app icon (#3614)
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 3.9 KiB |
@@ -246,7 +246,7 @@ describe("editor target registry", () => {
|
||||
id: "android-studio",
|
||||
label: "Android Studio",
|
||||
kind: "editor",
|
||||
icon: { kind: "symbol", name: "terminal" },
|
||||
icon: { kind: "image", dataUrl: "data:image/png;base64,android-studio.png" },
|
||||
});
|
||||
|
||||
await openEditorTarget(
|
||||
|
||||
@@ -22,12 +22,12 @@ function launchArgs(input: EditorTargetLaunchInput): string[] {
|
||||
|
||||
export const androidStudioTarget: EditorTarget = {
|
||||
id: "android-studio",
|
||||
async describe() {
|
||||
async describe(runtime) {
|
||||
return {
|
||||
id: this.id,
|
||||
label: "Android Studio",
|
||||
kind: "editor",
|
||||
icon: { kind: "symbol", name: "terminal" },
|
||||
icon: await runtime.loadIcon("android-studio.png"),
|
||||
};
|
||||
},
|
||||
async isInstalled(runtime) {
|
||||
|
||||
Reference in New Issue
Block a user