From b13745ccd25953a4d4f7cb72d7d0e9be14dd9315 Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Wed, 16 Sep 2020 20:02:02 +0200 Subject: [PATCH] Fix modulo stub creation process --- src/ui/modulo/mac.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/modulo/mac.rs b/src/ui/modulo/mac.rs index ca3f72f..4919ca4 100644 --- a/src/ui/modulo/mac.rs +++ b/src/ui/modulo/mac.rs @@ -4,7 +4,7 @@ use std::os::unix::fs::symlink; const MODULO_APP_BUNDLE_NAME: &str = "Modulo.app"; const MODULO_APP_BUNDLE_PLIST_CONTENT: &'static str = include_str!("../../res/mac/modulo.plist"); -const MODULO_APP_BUNDLE_ICON: &'static str = include_bytes!("../../res/mac/AppIcon.icns"); +const MODULO_APP_BUNDLE_ICON: &[u8] = include_bytes!("../../res/mac/AppIcon.icns"); pub fn generate_modulo_app_bundle(modulo_path: &str) -> Result { let modulo_pathbuf = PathBuf::from(modulo_path);