mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-06-13 02:16:01 +08:00
修复debian10判断glibc版本的问题导致推荐wine的问题
This commit is contained in:
parent
385348a7b9
commit
c88521a3e7
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user