max-mapper / menubar

➖ high level way to create menubar desktop applications with electron
BSD 2-Clause "Simplified" License
6.64k stars 363 forks source link

Setting an icon makes the app disappear #465

Closed alex289 closed 6 months ago

alex289 commented 6 months ago

Description

Im new to electron and just want to use a custom icon but setting one makes the app disappear. My repo is here: https://github.com/alex289/portainer-menubar

Steps to Reproduce the Problem

  1. Set the icon like this icon: path.join(__dirname, 'assets', 'icon-0-Template.png'),or use tray
  2. Start the app

Expected Behaviour

The icon shown correctly

Actual Behaviour

There is not even the default icon anymore

Specifications