build: macos and android fix

This commit is contained in:
ardocrat
2024-07-02 16:40:07 +03:00
parent f67aac23fc
commit 18138c9c66
5 changed files with 54 additions and 17 deletions
+1 -2
View File
@@ -14,8 +14,6 @@
#![windows_subsystem = "windows"]
use egui::os::OperatingSystem;
pub fn main() {
#[allow(dead_code)]
#[cfg(not(target_os = "android"))]
@@ -37,6 +35,7 @@ fn real_main() {
use std::sync::Arc;
use egui::pos2;
use egui::os::OperatingSystem;
use eframe::icon_data::from_png_bytes;
let platform = Desktop::default();