Skip to content

Commit

Permalink
hmm
Browse files Browse the repository at this point in the history
  • Loading branch information
gorouflex authored Feb 27, 2024
1 parent a731375 commit 10f7260
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion UXTU4Mac/UXTU4Mac.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ def about_menu():
def setting_menu():
clr_print_logo()
logging.info("------------ Settings ----------")
logging.info("")
logging.info("P. Preset setting")
logging.info("F. FIP setting")
logging.info("C. CFU setting")
Expand All @@ -209,6 +210,7 @@ def pass_cfg() -> None:
clr_print_logo()
logging.info("------------ Sudo Password Setting ---------")
pswd = cfg.get('User', 'Password', fallback='')
logging.info("")
logging.info(f"Current sudo (login) password: {pswd}")
logging.info("C. Change password")
logging.info("")
Expand Down Expand Up @@ -239,6 +241,7 @@ def login_cfg() -> None:
clr_print_logo()
logging.info("------------ Login Items Setting ---------")
logging.info("(Run script with macOS every startup)")
logging.info("")
login_enabled = cfg.get('User', 'LoginItems', fallback='1') == '1'
if login_enabled:
logging.info("Login Items status: OK")
Expand Down Expand Up @@ -283,6 +286,7 @@ def cfu_cfg() -> None:
cfg.read(CONFIG_PATH)
clr_print_logo()
logging.info("------------ Check For Updates Setting ---------")
logging.info("")
cfu_enabled = cfg.get('User', 'CFU', fallback='1') == '1'
if cfu_enabled:
logging.info("CFU status: Enabled")
Expand Down Expand Up @@ -311,7 +315,8 @@ def fip_cfg() -> None:
cfg = ConfigParser()
cfg.read(CONFIG_PATH)
clr_print_logo()
logging.info("------------ File Inte Protection Setting ------------")
logging.info("------------ File Integrity Protectio Setting ------------")
logging.info("")
fip_enabled = cfg.get('User', 'FIP', fallback='0') == '1'
if fip_enabled:
logging.info("FIP status: Enabled")
Expand Down

0 comments on commit 10f7260

Please sign in to comment.