mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-12-13 18:42:03 +08:00
修复debian10判断glibc版本的问题导致推荐wine的问题
This commit is contained in:
@@ -350,8 +350,13 @@ class GetInfo():
|
||||
result = True
|
||||
if (data == "termux" and self.isTermux):
|
||||
result = True
|
||||
if (self.compareVersion(self.glibcVersion, data) == 1):
|
||||
result = True
|
||||
try:
|
||||
if (self.compareVersion(self.glibcVersion, data) == 1 or
|
||||
self.compareVersion(self.glibcVersion, data) == 0):
|
||||
result = True
|
||||
except:
|
||||
# 如果检查 tag 出现问题,强制返回符合条件
|
||||
return True
|
||||
if (os.path.exists(data)):
|
||||
result = True
|
||||
if (no):
|
||||
|
||||
Reference in New Issue
Block a user