Skip to content

Windows app icon shows og-image instead of the actual AO logo #402

Description

@i-trytoohard

Problem

The Windows desktop app icon is currently generated from frontend/src/landing/public/og-image.png — a social preview image — not the actual Agent Orchestrator logo. This was introduced in #348 ("add app icon") which sourced the icon from og-image.png.

The repo already ships a proper branded logo at frontend/src/landing/public/ao-logo.png (56 KB), but it is not used for the desktop app icon.

Current state

Asset Used for Source
frontend/assets/icon.ico Windows installer setupIcon + app icon Generated from og-image.png
frontend/assets/icon.png Runtime window icon (main.ts windowIconPath()) Generated from og-image.png
frontend/assets/icon.icns macOS app icon Generated from og-image.png
frontend/src/landing/public/ao-logo.png Landing page only Actual AO logo

Relevant code

frontend/forge.config.ts — icon config:

packagerConfig: {
    icon: "assets/icon",     // resolves to icon.ico on Windows
    extraResource: ["daemon", "assets/icon.png"],
},
makers: [
    {
        name: "@electron-forge/maker-squirrel",
        config: {
            setupIcon: "assets/icon.ico",   // Windows installer icon
        },
    },
    ...
]

frontend/src/main.ts — runtime window icon:

function windowIconPath(): string | undefined {
    return app.isPackaged
        ? path.join(process.resourcesPath, "icon.png")
        : path.join(__dirname, "../../assets/icon.png");
}

Proposed fix

  1. Regenerate icon.png / icon.ico / icon.icns from ao-logo.png (the proper AO branded logo) instead of og-image.png.
  2. Ensure the logo is properly sized/cropped for small icon display (taskbar, window title bar) — the og-image is a wide social banner, which doesn't scale cleanly to 32×32 / 48×48 taskbar sizes.
  3. Rebuild and verify the icon appears correctly on a Windows install.

Acceptance criteria

  • Windows taskbar icon shows the recognizable AO logo
  • Windows installer .exe shows the AO logo as the setup icon
  • Window title bar icon shows the AO logo
  • No regression on macOS / Linux icon rendering

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions