Ability to modify the menu bar at runtime #142
Replies: 3 comments
-
Yep, that's on my wish list too. Maybe I'll write a PR for this. |
Beta Was this translation helpful? Give feedback.
-
I think this is a bigger discussion of being able to manipulate the MenuBar in general after boot. If you do this it'll change but currently, there isn't a method to grab the MenuBar instance after boot. Talking with another dev on discord he suggested putting the $bar = MenuBar::create()
->icon(public_path('menuBarIcon.png'));
$bar->icon('something_else.png'); |
Beta Was this translation helpful? Give feedback.
-
This should now be doable in nativephp/laravel v0.6.3 and nativephp/electron v0.8.6. Docs incoming. |
Beta Was this translation helpful? Give feedback.
-
I would love to be able to swap the menu bar icon at runtime to show different states (errors/new alerts/updates available etc).
Beta Was this translation helpful? Give feedback.
All reactions