Skip to content

Commit

Permalink
Updated libraries.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrueger committed Nov 21, 2024
1 parent 856d589 commit 6d94e2b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,20 @@ Allows to alter values in computer games or freeze them to certain values.
"""

[dependencies]
egui = "0.27.2"
egui_extras = "0.27.2"
eframe = { version = "0.27.2", features = ["persistence"] }
egui = "0.29.1"
egui_extras = "0.29.1"
eframe = { version = "0.29.1", features = ["persistence"] }
process-memory = "0.5.0"
sysinfo = "0.30.12"
sysinfo = "0.32.0"
threadpool = "1.0"
sudo = "0.6.0"
gabi = "0.2.6"
i18n-embed = { version = "0.14.1", features = ["fluent-system", "desktop-requester"]}
i18n-embed-fl = "0.8.0"
once_cell = "1.16.0"
i18n-embed = { version = "0.15.2", features = ["fluent-system", "desktop-requester"]}
i18n-embed-fl = "0.9.2"
once_cell = "1.20.2"
rust-embed = "8.4.0"
boyer-moore-magiclen = "0.2.16"
proc-maps = "0.3.1"
proc-maps = "0.4.0"

# native:
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ fn main() {
eframe::run_native(
format!("{APP_NAME} {VERSION}").as_str(),
options,
Box::new(|cc| Box::new(game_cheetah::GameCheetahEngine::new(cc))),
Box::new(|cc| Ok(Box::new(game_cheetah::GameCheetahEngine::new(cc)))),
)
.unwrap();
}
Expand Down
4 changes: 2 additions & 2 deletions src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ impl GameCheetahEngine {
};
self.processes.push(ProcessInfo {
pid: pid.try_into().unwrap(),
name: process.name().to_string(),
cmd: process.cmd().join(" "),
name: process.name().to_string_lossy().to_string(),
cmd: format!("{:?} ", process.cmd()),
user,
memory: process.memory() as usize,
});
Expand Down

0 comments on commit 6d94e2b

Please sign in to comment.