fix(desktop): show Android Studio app icon (#3614)

This commit is contained in:
Caique Maurano
2026-08-20 22:26:38 +02:00
committed by GitHub
parent 19a7d26349
commit b54c8e493a
3 changed files with 3 additions and 3 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

@@ -246,7 +246,7 @@ describe("editor target registry", () => {
id: "android-studio", id: "android-studio",
label: "Android Studio", label: "Android Studio",
kind: "editor", kind: "editor",
icon: { kind: "symbol", name: "terminal" }, icon: { kind: "image", dataUrl: "data:image/png;base64,android-studio.png" },
}); });
await openEditorTarget( await openEditorTarget(
@@ -22,12 +22,12 @@ function launchArgs(input: EditorTargetLaunchInput): string[] {
export const androidStudioTarget: EditorTarget = { export const androidStudioTarget: EditorTarget = {
id: "android-studio", id: "android-studio",
async describe() { async describe(runtime) {
return { return {
id: this.id, id: this.id,
label: "Android Studio", label: "Android Studio",
kind: "editor", kind: "editor",
icon: { kind: "symbol", name: "terminal" }, icon: await runtime.loadIcon("android-studio.png"),
}; };
}, },
async isInstalled(runtime) { async isInstalled(runtime) {