mirror of
https://github.com/lightsoutgames/bevy_full_throttle
synced 2024-11-23 12:45: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
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bevy = { version = "0.10", default-features = false }
|
bevy = { version = "0.11", default-features = false }
|
||||||
ctrlc = "3"
|
ctrlc = "3"
|
||||||
|
|
||||||
[target.'cfg(windows)'.dependencies]
|
[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]
|
[package.metadata.release]
|
||||||
publish = false
|
publish = false
|
||||||
|
|
|
@ -74,8 +74,7 @@ pub struct FullThrottlePlugin {
|
||||||
impl Plugin for FullThrottlePlugin {
|
impl Plugin for FullThrottlePlugin {
|
||||||
fn build(&self, app: &mut App) {
|
fn build(&self, app: &mut App) {
|
||||||
app.insert_resource(*self)
|
app.insert_resource(*self)
|
||||||
.add_startup_system(setup)
|
.add_systems(Startup, setup)
|
||||||
.add_system(focus_change)
|
.add_systems(PostUpdate, (focus_change, exit));
|
||||||
.add_system(exit.in_base_set(CoreSet::PostUpdate));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user