do not set macos dev icon on cef

This commit is contained in:
Lucas Nogueira
2025-12-18 09:50:39 -03:00
parent 9dbbb3d415
commit 9d143bdac2

View File

@@ -2486,7 +2486,7 @@ fn on_event_loop_event<R: Runtime>(
},
RuntimeRunEvent::Ready => {
// set the app icon in development
#[cfg(all(dev, target_os = "macos"))]
#[cfg(all(dev, target_os = "macos", not(feature = "cef")))]
{
use objc2::AllocAnyThread;
use objc2_app_kit::{NSApplication, NSImage};