在 main.py 中更新系统信息显示逻辑,仅显示系统名称
This commit is contained in:
2
main.py
2
main.py
@@ -37,7 +37,7 @@ def pseudo_zsh():
|
|||||||
os.system("clear") # 清屏
|
os.system("clear") # 清屏
|
||||||
|
|
||||||
# 显示系统信息
|
# 显示系统信息
|
||||||
system_name = get_simple_system_info()
|
system_name = get_simple_system_info().split()[0]
|
||||||
system_version = platform.version()
|
system_version = platform.version()
|
||||||
architecture = platform.architecture()[0]
|
architecture = platform.architecture()[0]
|
||||||
hostname = platform.node()
|
hostname = platform.node()
|
||||||
|
|||||||
Reference in New Issue
Block a user