mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-07-10 15:12:52 +02:00
chore(deps): bump sysinfo from 0.22.5 to 0.23.0
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.22.5 to 0.23.0. - [Release notes](https://github.com/GuillaumeGomez/sysinfo/releases) - [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md) - [Commits](https://github.com/GuillaumeGomez/sysinfo/commits) --- updated-dependencies: - dependency-name: sysinfo dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
Generated
+2
-2
@@ -1137,9 +1137,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "sysinfo"
|
name = "sysinfo"
|
||||||
version = "0.22.5"
|
version = "0.23.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "7f1bfab07306a27332451a662ca9c8156e3a9986f82660ba9c8e744fe8455d43"
|
checksum = "9e757000a4bed2b1be9be65a3f418b9696adf30bb419214c73997422de73a591"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cfg-if 1.0.0",
|
"cfg-if 1.0.0",
|
||||||
"core-foundation-sys",
|
"core-foundation-sys",
|
||||||
|
|||||||
+1
-1
@@ -29,7 +29,7 @@ paste = "1"
|
|||||||
serde = { version = "1", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
serde_json = "1"
|
serde_json = "1"
|
||||||
strum = { version = "0.23", features = ["derive"] }
|
strum = { version = "0.23", features = ["derive"] }
|
||||||
sysinfo = "0.22"
|
sysinfo = "0.23"
|
||||||
tracing = "0.1"
|
tracing = "0.1"
|
||||||
tracing-appender = "0.2"
|
tracing-appender = "0.2"
|
||||||
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ use lazy_static::lazy_static;
|
|||||||
use parking_lot::deadlock;
|
use parking_lot::deadlock;
|
||||||
use parking_lot::Mutex;
|
use parking_lot::Mutex;
|
||||||
use serde::Serialize;
|
use serde::Serialize;
|
||||||
|
use sysinfo::Process;
|
||||||
use sysinfo::ProcessExt;
|
use sysinfo::ProcessExt;
|
||||||
use sysinfo::SystemExt;
|
use sysinfo::SystemExt;
|
||||||
use tracing_appender::non_blocking::WorkerGuard;
|
use tracing_appender::non_blocking::WorkerGuard;
|
||||||
@@ -359,7 +360,7 @@ fn main() -> Result<()> {
|
|||||||
let mut system = sysinfo::System::new_all();
|
let mut system = sysinfo::System::new_all();
|
||||||
system.refresh_processes();
|
system.refresh_processes();
|
||||||
|
|
||||||
let matched_procs = system.process_by_name("komorebi.exe");
|
let matched_procs: Vec<&Process> = system.processes_by_name("komorebi.exe").collect();
|
||||||
|
|
||||||
if matched_procs.len() > 1 {
|
if matched_procs.len() > 1 {
|
||||||
let mut shim_is_active = false;
|
let mut shim_is_active = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user