mirror of
https://github.com/lightsoutgames/bevy_full_throttle
synced 2024-11-23 11:05:57 +00:00
chore: Update to Bevy 0.11.
This commit is contained in:
parent
7982cec46b
commit
87012c6a6f
|
@ -9,11 +9,16 @@ edition = "2021"
|
|||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
bevy = { version = "0.10", default-features = false }
|
||||
bevy = { version = "0.11", default-features = false }
|
||||
ctrlc = "3"
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
windows = { version = "0.48", features = ["Win32_Foundation", "Win32_System_Power", "Win32_System_Registry", "Win32_System_SystemServices"] }
|
||||
windows = { version = "0.48", features = [
|
||||
"Win32_Foundation",
|
||||
"Win32_System_Power",
|
||||
"Win32_System_Registry",
|
||||
"Win32_System_SystemServices",
|
||||
] }
|
||||
|
||||
[package.metadata.release]
|
||||
publish = false
|
||||
|
|
|
@ -74,8 +74,7 @@ pub struct FullThrottlePlugin {
|
|||
impl Plugin for FullThrottlePlugin {
|
||||
fn build(&self, app: &mut App) {
|
||||
app.insert_resource(*self)
|
||||
.add_startup_system(setup)
|
||||
.add_system(focus_change)
|
||||
.add_system(exit.in_base_set(CoreSet::PostUpdate));
|
||||
.add_systems(Startup, setup)
|
||||
.add_systems(PostUpdate, (focus_change, exit));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user