Skip to content

Commit

Permalink
macosx: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gorouflex authored Aug 1, 2024
1 parent 1658eef commit 548cd7c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions macOS/UXTU4Unix.py
Original file line number Diff line number Diff line change
Expand Up @@ -825,20 +825,18 @@ def preset_menu():
cfg.set('Settings', 'DynamicMode', last_mode)
cfg.set('Settings', 'ReApply', last_apply)
elif preset_choice.lower() == "c":
last_mode = cfg.get('Settings', 'DynamicMode', fallback='0')
cfg.set('Settings', 'DynamicMode', '0')
custom_args = input("Enter your custom arguments: ")
apply_smu('Custom', custom_args, save_to_config=False)
cfg.set('Settings', 'DynamicMode', last_mode)
elif preset_choice.lower() == "b":
return
else:
logging.info("Invalid option.")
input("Press Enter to continue...")

def apply_smu(args, user_mode, save_to_config=True):
if cfg.get('Info', 'Type') == "Intel":
clear()
logging.info("Sorry, we currently do not support Intel chipsets")
input("Press Enter to continue...")
return
if not check_run():
clear()
logging.info("Cannot run RyzenAdj because your computer is missing debug=0x144 or required SIP is not SET yet\nPlease run Install UXTU4Unix dependencies under Setting \nand restart after install.")
Expand Down

0 comments on commit 548cd7c

Please sign in to comment.