This commit is contained in:
2025-09-07 01:24:07 -05:00
parent ced39aa878
commit d1258cbb4a
3 changed files with 12 additions and 2 deletions
+7 -1
View File
@@ -14,4 +14,10 @@ serde = { version = "1.0.219", features = ["derive"] }
axum = "0.8.4" axum = "0.8.4"
tokio = { version = "1.47.1", features = ["full"] } tokio = { version = "1.47.1", features = ["full"] }
tinyrand = "0.5.0" tinyrand = "0.5.0"
clipboard-rs = "0.3.0" 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."
Binary file not shown.

After

Width:  |  Height:  |  Size: 522 KiB

+5 -1
View File
@@ -15,7 +15,11 @@ use crate::ui_ext::{ButtonExtensions, UiExtensions};
#[tokio::main] #[tokio::main]
async fn 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| { eframe::run_native("Fleen", native_options, Box::new(|_cc| {
Ok(Box::new(FleenUi::default())) Ok(Box::new(FleenUi::default()))
})).expect("Error running application"); })).expect("Error running application");