mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-12-14 02:52:03 +08:00
添加arm bwrap
This commit is contained in:
6
Makefile
6
Makefile
@@ -1,6 +1,12 @@
|
|||||||
build:
|
build:
|
||||||
make package -j$(nproc)
|
make package -j$(nproc)
|
||||||
|
|
||||||
|
replace:
|
||||||
|
rm Icon/Program/*
|
||||||
|
rm Icon/*.svg
|
||||||
|
rm Icon/doge.png
|
||||||
|
echo "[[], []]" > IconList.json
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
python3 RemovePycacheFile.py
|
python3 RemovePycacheFile.py
|
||||||
rm *.deb -fv
|
rm *.deb -fv
|
||||||
|
|||||||
@@ -430,7 +430,7 @@ def about_this_program()->"显示“关于这个程序”窗口":
|
|||||||
global clickIconTime
|
global clickIconTime
|
||||||
if clickIconTime >= 0:
|
if clickIconTime >= 0:
|
||||||
clickIconTime = clickIconTime + 1
|
clickIconTime = clickIconTime + 1
|
||||||
if clickIconTime > 5:
|
if clickIconTime > 0:
|
||||||
clickIconTime = -1
|
clickIconTime = -1
|
||||||
for k in ["", "Function"]:
|
for k in ["", "Function"]:
|
||||||
for i in os.listdir(f"{programPath}/Icon/{k}"):
|
for i in os.listdir(f"{programPath}/Icon/{k}"):
|
||||||
@@ -2580,12 +2580,6 @@ app.installTranslator(trans)
|
|||||||
iconPath = "{}/deepin-wine-runner.svg".format(programPath)
|
iconPath = "{}/deepin-wine-runner.svg".format(programPath)
|
||||||
iconPathList = [
|
iconPathList = [
|
||||||
"{}/deepin-wine-runner.svg".format(programPath),
|
"{}/deepin-wine-runner.svg".format(programPath),
|
||||||
f"{programPath}/Icon/Program/AboutIcon1.png",
|
|
||||||
f"{programPath}/Icon/Program/AboutIcon0.png",
|
|
||||||
f"{programPath}/Icon/Program/webp2.png",
|
|
||||||
f"{programPath}/Icon/Program/webp3.png",
|
|
||||||
f"{programPath}/Icon/Program/Windows虚拟机.png",
|
|
||||||
f"{programPath}/Icon/Program/wine打包器.png"
|
|
||||||
]
|
]
|
||||||
|
|
||||||
#iconPath = "{}/Icon/Program/wine运行器.png".format(programPath)
|
#iconPath = "{}/Icon/Program/wine运行器.png".format(programPath)
|
||||||
@@ -2663,9 +2657,13 @@ Deepin 论坛:<a href="https://bbs.deepin.org">https://bbs.deepin.org</a>
|
|||||||
gfdgd xi:<a href="https://gfdgd-xi.github.io">https://gfdgd-xi.github.io</a>
|
gfdgd xi:<a href="https://gfdgd-xi.github.io">https://gfdgd-xi.github.io</a>
|
||||||
<hr>
|
<hr>
|
||||||
<h1>©2020~{time.strftime("%Y")} By gfdgd xi</h1>'''
|
<h1>©2020~{time.strftime("%Y")} By gfdgd xi</h1>'''
|
||||||
|
offLineInformation = ""
|
||||||
if os.path.exists(f"{programPath}/off-line.lock"):
|
if os.path.exists(f"{programPath}/off-line.lock"):
|
||||||
title = "Wine 运行器 {}(离线模式)".format(version)
|
title = "Wine 运行器 {}(离线模式)".format(version)
|
||||||
|
try:
|
||||||
|
offLineInformation = readtxt(f"{programPath}/off-line.lock")
|
||||||
|
except:
|
||||||
|
traceback.print_exc()
|
||||||
else:
|
else:
|
||||||
title = "Wine 运行器 {}".format(version)
|
title = "Wine 运行器 {}".format(version)
|
||||||
#<h1>©2020~{time.strftime("%Y")} <a href="https://gitee.com/gfdgd-xi">By gfdgd xi</h1>'''
|
#<h1>©2020~{time.strftime("%Y")} <a href="https://gitee.com/gfdgd-xi">By gfdgd xi</h1>'''
|
||||||
@@ -2839,9 +2837,15 @@ mainLayout.setColumnStretch(1, 1)
|
|||||||
mainLayout.addWidget(returnText, 0, 1, 2, 1)
|
mainLayout.addWidget(returnText, 0, 1, 2, 1)
|
||||||
|
|
||||||
# 版权
|
# 版权
|
||||||
copy = QtWidgets.QLabel(f"""程序版本:{version},<b>提示:Wine 无法保证可以运行所有的 Windows 程序,如果想要运行更多 Windows 程序,可以考虑虚拟机和双系统</b><br/>
|
if offLineInformation.replace("\n", "").replace(" ", "") == "":
|
||||||
|
copy = QtWidgets.QLabel(f"""程序版本:{version},<b>提示:Wine 无法保证可以运行所有的 Windows 程序,如果想要运行更多 Windows 程序,可以考虑虚拟机和双系统</b><br/>
|
||||||
<b>注:部分二进制兼容层会自动注册 binfmt(如原版的 Box86/64、Qemu User Static),则意味着无需在 Wine 版本那里特别指定兼容层,直接指定 Wine 即可</b><br/>
|
<b>注:部分二进制兼容层会自动注册 binfmt(如原版的 Box86/64、Qemu User Static),则意味着无需在 Wine 版本那里特别指定兼容层,直接指定 Wine 即可</b><br/>
|
||||||
©2020~{time.strftime("%Y")} gfdgd xi""")
|
©2020~{time.strftime("%Y")} gfdgd xi""")
|
||||||
|
else:
|
||||||
|
copy = QtWidgets.QLabel(f"""程序版本:{version},<b>提示:Wine 无法保证可以运行所有的 Windows 程序,如果想要运行更多 Windows 程序,可以考虑虚拟机和双系统</b><br/>
|
||||||
|
<b>注:部分二进制兼容层会自动注册 binfmt(如原版的 Box86/64、Qemu User Static),则意味着无需在 Wine 版本那里特别指定兼容层,直接指定 Wine 即可</b><br/>
|
||||||
|
{offLineInformation}<br/>
|
||||||
|
©2020~{time.strftime("%Y")} gfdgd xi""")
|
||||||
mainLayout.addWidget(copy, 2, 0, 1, 1)
|
mainLayout.addWidget(copy, 2, 0, 1, 1)
|
||||||
|
|
||||||
# 程序运行
|
# 程序运行
|
||||||
|
|||||||
BIN
off-line-shell/bwrap_arm64
Executable file
BIN
off-line-shell/bwrap_arm64
Executable file
Binary file not shown.
Reference in New Issue
Block a user