mirror of
https://github.com/gopher64/gopher64.git
synced 2026-10-09 12:36:28 +02:00
add icon for windows (#179)
This commit is contained in:
1 parent
6292459f8b
commit
6820da889c
2 files changed
+6
-1
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 164 KiB |
+6
-1
@@ -170,7 +170,12 @@ async fn main() {
|
||||
}
|
||||
} else {
|
||||
let options = eframe::NativeOptions {
|
||||
viewport: eframe::egui::ViewportBuilder::default().with_inner_size([640.0, 480.0]),
|
||||
viewport: eframe::egui::ViewportBuilder::default()
|
||||
.with_inner_size([640.0, 480.0])
|
||||
.with_icon(
|
||||
eframe::icon_data::from_png_bytes(include_bytes!("../data/gopher64.png"))
|
||||
.unwrap(),
|
||||
),
|
||||
..Default::default()
|
||||
};
|
||||
eframe::run_native(
|
||||
|
||||
Reference in new issue
Block a user