Skip to content

Commit

Permalink
chore: resolve compiling error on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
meowtec committed Apr 28, 2023
1 parent 9668556 commit a89f847
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/launcher/src-tauri/src/tray.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pub fn init_tray(app: &tauri::App) {

#[cfg(target_os = "macos")]
{
tray = tray.with_icon(Icon::Raw(include_bytes!("../icons/icon_tray.png").to_vec()));
tray = tray.with_icon(tauri::Icon::Raw(include_bytes!("../icons/icon_tray.png").to_vec()));
}

tray.on_event(move |event| match event {
Expand Down

0 comments on commit a89f847

Please sign in to comment.