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",
|
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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user