From 97eb1d992a2960616bf207308f519be425f17afe Mon Sep 17 00:00:00 2001 From: HeXiangLong <3234374354@qq.com> Date: Thu, 10 Apr 2025 07:20:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=20main.py=20=E4=B8=AD=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E7=B3=BB=E7=BB=9F=E5=90=8D=E7=A7=B0=E4=B8=BA=20'macOS?= =?UTF-8?q?=20Sonoma=2014.6'=EF=BC=8C=E7=AE=80=E5=8C=96=E7=B3=BB=E7=BB=9F?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}")