在 main.py 中更新系统信息显示逻辑,仅显示系统名称

This commit is contained in:
2025-04-10 07:09:59 +08:00
Unverified
parent 3ed94fb39e
commit 948302a5e6

View File

@@ -37,7 +37,7 @@ def pseudo_zsh():
os.system("clear") # 清屏
# 显示系统信息
system_name = get_simple_system_info()
system_name = get_simple_system_info().split()[0]
system_version = platform.version()
architecture = platform.architecture()[0]
hostname = platform.node()