You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(node:1085748) UnhandledPromiseRejectionWarning: Error: Failed to load image from path 'xx/muffon/public/icon.ico'
at createTrayOrDock (xx/muffon/electron.js:126:12)
at setup (xx/muffon/electron.js:166:3)
(Use `electron --trace-warnings ...` to show where the warning was created)
Note that xx/muffon/public/icon.ico exists
public/
├── foo.jpg # I added this one
├── icon.icns
├── icon.ico
├── index.html
├── installerSidebar.bmp
└── license.txt
Changing the iconPath to load foo.jpg instead of icon.ico, everything works.
When I tested the 0.1.0-alpha.8 the error is TypeError: Cannot read property 'setToolTip' of null, which I think is triggered by this line:
Hi! somehow the statement bellow doesn't work (in development) in my Ubuntu 20.04.2
muffon/electron.js
Line 125 in ab2d6be
Note that
xx/muffon/public/icon.ico
existspublic/ ├── foo.jpg # I added this one ├── icon.icns ├── icon.ico ├── index.html ├── installerSidebar.bmp └── license.txt
Changing the
iconPath
to loadfoo.jpg
instead oficon.ico
, everything works.When I tested the
0.1.0-alpha.8
the error isTypeError: Cannot read property 'setToolTip' of null
, which I think is triggered by this line:muffon/electron.js
Line 202 in ab2d6be
The text was updated successfully, but these errors were encountered: