Merge pull request #100 from timorunge/dev

High res status icon for macOS. Fix #98.
This commit is contained in:
Federico Terzi 2019-10-24 22:42:10 +02:00 committed by GitHub
commit cf7a06eb6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -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<Event>
@ -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.");

Binary file not shown.

Before

Width:  |  Height:  |  Size: 239 B

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB