diff --git a/Model/__pycache__/__init__.cpython-37.pyc b/Model/__pycache__/__init__.cpython-37.pyc index 10f7abc..5c93ee6 100644 Binary files a/Model/__pycache__/__init__.cpython-37.pyc and b/Model/__pycache__/__init__.cpython-37.pyc differ diff --git a/mainwindow.py b/mainwindow.py index b3d480a..7d34964 100755 --- a/mainwindow.py +++ b/mainwindow.py @@ -305,7 +305,7 @@ def GetSystemVersion(): systemInformation = readtxt("/etc/os-release") for systemInformation in systemInformation.split('\n'): if "PRETTY_NAME=" in systemInformation: - return systemInformation.replace("PRETTY_NAME=", "").replace('"', '') + return systemInformation.replace("NAME=", "").replace('"', '') # 打开所有窗口事件 def Button5Click():