fail compilation if compiling outside of windows

This commit is contained in:
2025-04-30 00:48:44 +01:00
parent 1bcd6b2c7d
commit a84401ca33
+3
View File
@@ -1,5 +1,8 @@
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
#[cfg(not(target_os = "windows"))]
compile_error!("This application must be compiled on Windows.");
mod features;
mod gui;
mod util;