leanflutter / tray_manager

This plugin allows Flutter desktop apps to defines system tray.
https://pub.dev/packages/tray_manager
MIT License
230 stars 36 forks source link

fix(linux): ensure icon works in sandboxed environments #43

Closed Merrit closed 5 months ago

Merrit commented 5 months ago

When running in a sandboxed environment, such as a Flatpak or Snap, the icon should be passed as the icon name, not a path.

This is required because when running in a sandbox, paths are not the same as seen by the app and the host system.

lijy91 commented 5 months ago

LGTM