diff --git a/Cargo.toml b/Cargo.toml index 165d197..7e11b65 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,4 +14,10 @@ serde = { version = "1.0.219", features = ["derive"] } axum = "0.8.4" tokio = { version = "1.47.1", features = ["full"] } tinyrand = "0.5.0" -clipboard-rs = "0.3.0" \ No newline at end of file +clipboard-rs = "0.3.0" + +[package.metadata.bundle] +identifier = "org.geekfu.fleen" +icon = ["icon/128x128@2x.png"] +version = "1.0.0" +copyright = "Copyright (c) Ross Andrews 2025. All rights reserved." diff --git a/icon/128x128@2x.png b/icon/128x128@2x.png new file mode 100644 index 0000000..f32afd0 Binary files /dev/null and b/icon/128x128@2x.png differ diff --git a/src/main.rs b/src/main.rs index 0e92dfc..fa96056 100644 --- a/src/main.rs +++ b/src/main.rs @@ -15,7 +15,11 @@ use crate::ui_ext::{ButtonExtensions, UiExtensions}; #[tokio::main] async fn main() { - let native_options = eframe::NativeOptions::default(); + let mut native_options = eframe::NativeOptions::default(); + native_options.viewport = native_options.viewport.with_icon( + eframe::icon_data::from_png_bytes(include_bytes!("../icon/128x128@2x.png")) + .expect("Failed to load icon") + ); eframe::run_native("Fleen", native_options, Box::new(|_cc| { Ok(Box::new(FleenUi::default())) })).expect("Error running application");