From bcf31cc372eb5d23af10769b08cdcf832c076166 Mon Sep 17 00:00:00 2001 From: eatradish Date: Mon, 12 Jan 2026 00:02:52 +0800 Subject: [PATCH] fix: fix build on non linux platform --- src/gui/app.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/app.rs b/src/gui/app.rs index 225ee35..93a247d 100644 --- a/src/gui/app.rs +++ b/src/gui/app.rs @@ -17,6 +17,7 @@ use std::env; use std::sync::{Arc, Mutex, OnceLock, RwLock, mpsc}; use std::time::Duration; +#[cfg(target_os = "linux")] pub static X11: OnceLock = OnceLock::new(); #[derive(RustEmbed)]