Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
alvindimas05 committed Oct 10, 2024
1 parent 22139ff commit 8c4e92b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[workspace]
members = ["amdhelper", "amdhelper-chromium", "amdhelper-friend", "amdhelper-tui"]
members = ["amdhelper", "amdhelper-chromium", "amdhelper-tui"]
resolver = "2"

[profile.release]
Expand Down
4 changes: 2 additions & 2 deletions amdhelper/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::<Vec<&str>>().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
}
Expand Down

0 comments on commit 8c4e92b

Please sign in to comment.