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

remove the icon and exit #1

Closed
pcnate opened this issue Jul 18, 2020 · 2 comments
Closed

remove the icon and exit #1

pcnate opened this issue Jul 18, 2020 · 2 comments

Comments

@pcnate
Copy link

pcnate commented Jul 18, 2020

Is there a built in but undocumented way to remove the icon because I wish to exit the application?

@pcnate
Copy link
Author

pcnate commented Jul 18, 2020

no sure what I changed but it worked.

    case ExitId:
      // Ids work in submenus too.
      console.log( "Exiting" );
      appIcon.remove()
      process.exit()
      break;

@pcnate pcnate closed this as completed Jul 18, 2020
@simonbuchan
Copy link
Owner

Icons should be being removed when the process exits cleanly automatically - if you're by seeing that I might have to look into that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants