Add Windows guard
This commit is contained in:
parent
574b91ea11
commit
ca30acf8fb
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue