Add Windows guard

This commit is contained in:
Melody Becker 2025-03-19 15:15:38 +01:00
parent 574b91ea11
commit ca30acf8fb

View file

@ -24,6 +24,8 @@ struct Runner;
#[godot_api]
impl INode for ScreencastRunner {
fn init(base: Base<Node>) -> Self {
#[cfg(not(target_os = "linux"))]
panic!("Not supported on Windows");
let (sender, receiver) = channel::unbounded();
Self {
base,