修复uengine installer识别问题

This commit is contained in:
gfdgd_xi 2023-02-11 18:42:47 +08:00
parent 06e6ffa470
commit 59de052531
2 changed files with 1 additions and 1 deletions

View File

@ -305,7 +305,7 @@ def GetSystemVersion():
systemInformation = readtxt("/etc/os-release") systemInformation = readtxt("/etc/os-release")
for systemInformation in systemInformation.split('\n'): for systemInformation in systemInformation.split('\n'):
if "PRETTY_NAME=" in systemInformation: if "PRETTY_NAME=" in systemInformation:
return systemInformation.replace("PRETTY_NAME=", "").replace('"', '') return systemInformation.replace("NAME=", "").replace('"', '')
# 打开所有窗口事件 # 打开所有窗口事件
def Button5Click(): def Button5Click():