Add dummy resource to avoid panics under non-Windows platforms.

This commit is contained in:
Nolan Darilek 2022-05-18 20:31:00 -05:00
parent 013b5dccb4
commit acbd405f51

View File

@ -28,6 +28,8 @@ fn setup(mut commands: Commands) {
commands.insert_resource(scheme); commands.insert_resource(scheme);
} }
} }
#[cfg(not(windows))]
commands.insert_resource(DefaultScheme());
} }
#[allow(unused_variables)] #[allow(unused_variables)]