mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-12-14 11:02:04 +08:00
初步termux支持
This commit is contained in:
@@ -208,6 +208,8 @@ class GetInfo():
|
||||
is32kPageSize = (pageSize == "32384")
|
||||
is64kPageSize = (pageSize == "64768")
|
||||
isLoongarch = (arch == "loong64") or (arch == "loongarch64")
|
||||
isProot = os.path.exists("/storage")
|
||||
isAndroid = os.path.exists("/data")
|
||||
glibcVersion = "2.28"
|
||||
|
||||
def __init__(self):
|
||||
@@ -315,6 +317,10 @@ class GetInfo():
|
||||
result = True
|
||||
if (data == "loong64-kernel-64k-pagesize" and self.isLoongarch and self.is64kPageSize):
|
||||
result = True
|
||||
if (data == "proot" and self.isProot):
|
||||
result = True
|
||||
if (data == "android" and self.isAndroid):
|
||||
result = True
|
||||
if (self.compareVersion(self.glibcVersion, data) == 1):
|
||||
result = True
|
||||
if (os.path.exists(data)):
|
||||
|
||||
Reference in New Issue
Block a user