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
|
result = True
|
||||||
if (data == "termux" and self.isTermux):
|
if (data == "termux" and self.isTermux):
|
||||||
result = True
|
result = True
|
||||||
if (self.compareVersion(self.glibcVersion, data) == 1):
|
try:
|
||||||
result = True
|
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)):
|
if (os.path.exists(data)):
|
||||||
result = True
|
result = True
|
||||||
if (no):
|
if (no):
|
||||||
|
|||||||
Reference in New Issue
Block a user