Icon Not Working on Build
soleribbon opened this issue · 1 comments
soleribbon commented
Description
Menubar Tray Custom Icon Not Showing On Other Computers! (Defaults to Kangaroo)
Steps to Reproduce the Problem
- Added Icon Path ("./IconThing.png")
- npm run build
- 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
soleribbon commented
Fixed with path.join(__dirname, 'IconThing.png')