icon
This commit is contained in:
+7
-1
@@ -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"
|
||||
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
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user