From a8be0479baf306c52ff274632d25e88c330ca96e Mon Sep 17 00:00:00 2001 From: GorouFlex <98001973+gorouflex@users.noreply.github.com> Date: Fri, 19 Jul 2024 15:14:40 +0700 Subject: [PATCH] linux: rewrite (done) --- Linux/UXTU4Unix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Linux/UXTU4Unix.py b/Linux/UXTU4Unix.py index 50fcbde..4e81b44 100644 --- a/Linux/UXTU4Unix.py +++ b/Linux/UXTU4Unix.py @@ -216,7 +216,7 @@ def hardware_info(): logging.info("Processor Information:") logging.info(f" - Processor: {cfg.get('Info', 'CPU')}") cpu_family = cfg.get('Info', 'Family') - smu_version = get_hardware_info(f"{current_dir}/Assets/ryzenadj -i | grep 'SMU BIOS Interface Version'", use_sudo=True).strip() + smu_version = get_hardware_info(f"{os.path.join(current_dir, 'Assets', 'ryzenadj')} -i | grep 'SMU BIOS Interface Version'", use_sudo=True).strip() if cpu_family: logging.info(f" - Codename: {cpu_family}") if smu_version: