diff options
-rw-r--r-- | karld/src/main.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/karld/src/main.rs b/karld/src/main.rs index 3e85b04..4f4445f 100644 --- a/karld/src/main.rs +++ b/karld/src/main.rs @@ -14,7 +14,7 @@ use condition::ConditionFind; use crossbeam_channel::Sender; use helper::Overlaps; use karlcommon::{ClientboundPacket, ProtoError, Schedule, ServerboundPacket, Task}; -use log::{debug, error, info}; +use log::{debug, error, info, warn}; use std::{ collections::HashMap, sync::{atomic::AtomicU32, RwLock}, @@ -29,6 +29,11 @@ fn main() { error!("load failed: {}", e); } + #[cfg(target_os = "windows")] + warn!("Windows is not supported, please dont report any bugs for this platform. Please use a free operating system."); + #[cfg(target_os = "macos")] + warn!("Mac OS is not supported, please dont report any bugs for this platform. Please use a free operating system."); + std::thread::spawn(move || { std::thread::sleep(std::time::Duration::from_secs_f64(0.1)); schedule_dynamic(); |