max-mapper/menubar

Icon Not Working on Build

soleribbon opened this issue · 1 comments

Description

Menubar Tray Custom Icon Not Showing On Other Computers! (Defaults to Kangaroo)

Steps to Reproduce the Problem

  1. Added Icon Path ("./IconThing.png")
  2. npm run build
  3. opened build version of app, defaulted to kangaroo icon

Expected Behaviour

Custom Icon shows when user on another computer opens build version

Actual Behaviour

Kangaroo default icon shows

Specifications

I think this is due to the icon image specified not being a native image, however the path is basically not found on other computers! Any workaround here?

  • Menubar version: Newest
  • Platform: MacOS
  • Electron version: v11.4.1

Other information

Fixed with path.join(__dirname, 'IconThing.png')