diff --git a/objdiff-gui/src/main.rs b/objdiff-gui/src/main.rs index 73763ea..18e6b7f 100644 --- a/objdiff-gui/src/main.rs +++ b/objdiff-gui/src/main.rs @@ -58,7 +58,10 @@ fn main() -> ExitCode { let app_path = std::env::current_exe().ok(); let exec_path: Rc>> = Rc::new(Mutex::new(None)); - let mut native_options = eframe::NativeOptions::default(); + let mut native_options = eframe::NativeOptions { + viewport: egui::ViewportBuilder::default().with_app_id(APP_NAME), + ..Default::default() + }; match load_icon() { Ok(data) => { native_options.viewport.icon = Some(Arc::new(data));