From 8c4e92b6f558cea03adc165bc829d5e063f86af0 Mon Sep 17 00:00:00 2001 From: Alvin Dimas Praditya Date: Thu, 10 Oct 2024 08:33:43 +0700 Subject: [PATCH] misc --- Cargo.toml | 2 +- amdhelper/src/lib.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 9e63bf6..0c6605a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [workspace] -members = ["amdhelper", "amdhelper-chromium", "amdhelper-friend", "amdhelper-tui"] +members = ["amdhelper", "amdhelper-chromium", "amdhelper-tui"] resolver = "2" [profile.release] diff --git a/amdhelper/src/lib.rs b/amdhelper/src/lib.rs index 810f299..da079d4 100644 --- a/amdhelper/src/lib.rs +++ b/amdhelper/src/lib.rs @@ -43,9 +43,9 @@ pub fn apply_chromium_patch(patch: ChromiumPatch, apps: Vec<&AMDHelperApp>){ .filter_map(|app| if patch.supported_for(&app) { Some(app.name.as_str()) } else { None }) .collect::>().join(","); - let AMDHelper_chromium_path = env::current_dir().unwrap().parent().unwrap().join("target") + let amdhelper_chromium_path = env::current_dir().unwrap().parent().unwrap().join("target") .join("debug").join("amdhelper-chromium"); - if fs::copy(AMDHelper_chromium_path.to_str().unwrap(), CHROMIUM_GLOBAL_PATH).is_err(){ + if fs::copy(amdhelper_chromium_path.to_str().unwrap(), CHROMIUM_GLOBAL_PATH).is_err(){ println!("Failed to save chromium patch to global path..."); return }