Skip to content

Calling openAboutWindow multiple times presents multiple about windows #72

@BillyRayPreachersSon

Description

@BillyRayPreachersSon

I'm using electron:^16.0.5, about-window:^1.15.2, and running on Mac OS Big Sur 11.6.1.

Wiring up a call to openAboutWindow from my About context menu item's click handler, the About window opens as expected when the menu item is chosen.

However, if the menu item is chosen again before the About window is closed, multiple About windows will be presented.

Is it possible to show the first window if it is still present?

{
  label: 'About',
  click: () => openAboutWindow({
    ...
  }),
},

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions