Skip to content

armgit / muxin

Public Imported from GitHub
0

All your machines, one app. For you and your AI agents: agent sessions, desktops, files, logs and GitHub across your Macs, Linux and Windows machines, with an MCP server.

The macOS icon as macOS 26 wants it

Adib Hannafa31db272b7b
diff --git a/assets/brand/Muxin.icns b/assets/brand/Muxin.icns
index f2be115..f336cc9 100644
Binary files a/assets/brand/Muxin.icns and b/assets/brand/Muxin.icns differ
diff --git a/src/ui/assets.rs b/src/ui/assets.rs
index 37151bc..7bfff7a 100644
--- a/src/ui/assets.rs
+++ b/src/ui/assets.rs
@@ -168,6 +168,13 @@ pub fn set_dock_icon() {
use cocoa::appkit::{NSApp, NSApplication, NSImage};
use cocoa::base::nil;
use cocoa::foundation::NSData;
+ // A bundled app keeps the icon macOS draws from its .icns (on macOS 26 a
+ // set image would stand apart from the Dock's and Spotlight's look); only
+ // a bare binary (cargo run) needs one.
+ let bundled = std::env::current_exe().ok().and_then(|e| e.canonicalize().ok()).is_some_and(|e| e.to_string_lossy().contains(".app/Contents/MacOS/"));
+ if bundled {
+ return;
+ }
// SAFETY: called on the main thread after GPUI has created NSApplication;
// the PNG bytes are 'static and copied into NSData.
unsafe {