diff --git a/main.py b/main.py index 31e1cc7..f2477d8 100644 --- a/main.py +++ b/main.py @@ -37,7 +37,7 @@ def pseudo_zsh(): os.system("clear") # 清屏 # 显示系统信息 - system_name = get_simple_system_info().split()[0] + system_name = 'macOS Sonoma 14.6' system_version = platform.version() architecture = platform.architecture()[0] hostname = platform.node() @@ -65,7 +65,7 @@ def pseudo_zsh(): used_disk = round(disk.used / (1024 ** 3), 2) disk_usage = disk.percent - print(f"系统: {system_name} {system_version} ({architecture})") + print(f"系统: {system_name}") print(f"主机名: {hostname}") print(f"用户: {username}") print(f"IP 地址: {ip_address}")