diff --git a/src/context/macos.rs b/src/context/macos.rs index 3c8fafc..6c66ed3 100644 --- a/src/context/macos.rs +++ b/src/context/macos.rs @@ -27,7 +27,7 @@ use std::fs; use log::{info, error}; use std::process::exit; -const STATUS_ICON_BINARY : &[u8] = include_bytes!("../res/mac/icon@2x.png"); +const STATUS_ICON_BINARY : &[u8] = include_bytes!("../res/mac/icon.png"); pub struct MacContext { pub send_channel: Sender @@ -53,7 +53,7 @@ impl MacContext { // Initialize the status icon path let espanso_dir = super::get_data_dir(); - let status_icon_target = espanso_dir.join("icon@2x.png"); + let status_icon_target = espanso_dir.join("icon.png"); if status_icon_target.exists() { info!("Status icon already initialized, skipping."); @@ -142,4 +142,4 @@ extern fn context_menu_click_callback(_self: *mut c_void, id: i32) { let event = Event::Action(ActionType::from(id)); (*_self).send_channel.send(event).unwrap(); } -} \ No newline at end of file +} diff --git a/src/res/mac/icon.png b/src/res/mac/icon.png index 04d9593..cde3e91 100644 Binary files a/src/res/mac/icon.png and b/src/res/mac/icon.png differ diff --git a/src/res/mac/icon@2x.png b/src/res/mac/icon@2x.png deleted file mode 100644 index 899084d..0000000 Binary files a/src/res/mac/icon@2x.png and /dev/null differ