Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

desktop about-box is MacOS only #421

Open
jgadsden opened this issue Apr 18, 2022 · 0 comments · May be fixed by #1175
Open

desktop about-box is MacOS only #421

jgadsden opened this issue Apr 18, 2022 · 0 comments · May be fixed by #1175
Labels

Comments

@jgadsden
Copy link
Collaborator

Describe what problem your feature request solves
The desktop drop down menu role: 'about' is probably MacOS only

Describe the solution you'd like
Add in code like this, to make it cross platform:

      {
        label: 'about Electron',
        // Set menu roles
        role: 'about', // about, this value is only for Mac OS X systems
        // Click event is invalid when the role attribute of click event can be recognized
        click: () => {
          var aboutWin = new BrowserWindow({ width: 300, height: 200, parent: win, modal: true });
          aboutWin.loadFile('about.html');
        }
      },

Additional context

@jgadsden jgadsden changed the title v2 - desktop about-box is MacOS only desktop about-box is MacOS only Aug 13, 2022
SidheshwarSarangal added a commit to SidheshwarSarangal/threat-dragon that referenced this issue Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant