Skip to content

use set_icon_template from buffer #60

Description

@iewnfod
  • macOS only
  • tray-item version: 0.10.0

I can use IconSource::Data { height: 16, width: 16, data: ICON.to_vec() } to set a icon where ICON is from include_bytes macro. When I want to set my tray icon as a template, set_icon_template only allow &str.
I tried use an absolute image path or IconSource::Data::as_str. Both are not working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions