Compare commits

..

8 Commits

Author SHA1 Message Date
a76191da3a 补个更新日志
Some checks failed
Auto Building Wine Runner / deb (push) Has been cancelled
Auto Building Wine Runner / rpm (push) Has been cancelled
Auto Building Wine Runner / pkg (push) Has been cancelled
Building Wine Runner Off-line Pages / amd64 (push) Has been cancelled
Building Wine Runner Off-line Pages / arm64 (push) Has been cancelled
Building Wine Runner Off-line Pages / loongarch64 (push) Has been cancelled
2025-04-19 21:22:13 +08:00
3fd7b7532f 4.1.5 2025-04-19 21:18:26 +08:00
22f4430a27 更新dxvk至2.6.1 2025-04-19 21:17:49 +08:00
40938dc131 更新winetricks版本 2025-04-19 21:16:07 +08:00
a7bf65f407 适配spark-wine10 2025-04-19 21:07:15 +08:00
3272c825c6 更新dxvk至dxvk2.6
Some checks failed
Auto Building Wine Runner / deb (push) Has been cancelled
Auto Building Wine Runner / rpm (push) Has been cancelled
Auto Building Wine Runner / pkg (push) Has been cancelled
Building Wine Runner Off-line Pages / amd64 (push) Has been cancelled
Building Wine Runner Off-line Pages / arm64 (push) Has been cancelled
Building Wine Runner Off-line Pages / loongarch64 (push) Has been cancelled
2025-03-16 08:54:12 +08:00
acfb32d51f 修复run-system-bwrap问题
Some checks failed
Auto Building Wine Runner / deb (push) Has been cancelled
Auto Building Wine Runner / rpm (push) Has been cancelled
Auto Building Wine Runner / pkg (push) Has been cancelled
Building Wine Runner Off-line Pages / amd64 (push) Has been cancelled
Building Wine Runner Off-line Pages / arm64 (push) Has been cancelled
Building Wine Runner Off-line Pages / loongarch64 (push) Has been cancelled
2025-02-06 17:53:28 +08:00
4629bb495b 补充缺失依赖 2025-02-06 17:43:22 +08:00
19 changed files with 533 additions and 1595 deletions

View File

@@ -28,8 +28,11 @@ class qemu:
self.vboxVersion = subprocess.getoutput(self.qemuPath + " --version") self.vboxVersion = subprocess.getoutput(self.qemuPath + " --version")
def Create(self, type = "Windows7"): def Create(self, type = "Windows7"):
if(not os.path.exists(self.name)): try:
os.makedirs(self.name) if(not os.path.exists(self.name)):
os.makedirs(self.name)
except:
pass
return 0 return 0
def CreateDisk(self, path: str, size: int): def CreateDisk(self, path: str, size: int):

View File

@@ -28,7 +28,8 @@ Depends: python3,
tree, tree,
dpkg, dpkg,
fakeroot, fakeroot,
bash bash,
xdg-utils
Recommends: winbind, Recommends: winbind,
wimtools | wimlib, wimtools | wimlib,
python3-pyquery, python3-pyquery,

View File

@@ -711,7 +711,23 @@ wineChooserList = [
"使用 Spark Wine 打包应用" "使用 Spark Wine 打包应用"
] ]
wineChooserIndex = 2 wineChooserIndex = 2
wineList = ["deepin-wine-staging", "deepin-wine8-stable", "spark-wine9-wow", "spark-wine9", "spark-wine8", "spark-wine7-devel", "deepin-wine6-stable", "deepin-wine6-vannila", "spark-wine8-wow", "deepin-wine5-stable", "deepin-wine5", "deepin-wine", "spark-wine"] wineList = [
"deepin-wine-staging",
"deepin-wine8-stable",
"spark-wine10-wow",
"spark-wine10",
"spark-wine9-wow",
"spark-wine9",
"spark-wine8",
"spark-wine7-devel",
"deepin-wine6-stable",
"deepin-wine6-vannila",
"spark-wine8-wow",
"deepin-wine5-stable",
"deepin-wine5",
"deepin-wine",
"spark-wine"
]
for i in range(len(wineList)): for i in range(len(wineList)):
if not os.system(f"which '{wineList[i]}'"): if not os.system(f"which '{wineList[i]}'"):
wineChooserIndex = i wineChooserIndex = i

View File

@@ -1332,8 +1332,28 @@ bottleNameLock = False
############### ###############
programPath = os.path.split(os.path.realpath(__file__))[0] # 返回 string programPath = os.path.split(os.path.realpath(__file__))[0] # 返回 string
# 如果要添加其他 wine请在字典添加其名称和执行路径 # 如果要添加其他 wine请在字典添加其名称和执行路径
wine = {"deepin-wine": "deepin-wine", "deepin-wine5": "deepin-wine5", "wine": "wine", "wine64": "wine64", "deepin-wine5 stable": "deepin-wine5-stable", "deepin-wine6 stable": "deepin-wine6-stable", "spark-wine7-devel": "spark-wine7-devel", "ukylin-wine": "ukylin-wine", "okylin-wine": "okylin-wine", "spark-wine8": "spark-wine8", "spark-wine8-wow": "spark-wine8-wow", "deepin-wine6-vannila": "deepin-wine6-vannila", "deepin-wine8-stable": "deepin-wine8-stable", "spark-wine9": "spark-wine9", "spark-wine9-wow": "spark-wine9-wow", "spark-wine": "spark-wine", "deepin-wine-staging": "deepin-wine-staging"} wine = {
wineValue = {"deepin-wine": "deepin-wine", "deepin-wine5": "deepin-wine5", "wine": "wine", "wine64": "wine64", "deepin-wine5-stable": "deepin-wine5 stable", "deepin-wine6-stable": "deepin-wine6 stable", "spark-wine7-devel": "spark-wine7-devel", "ukylin-wine": "ukylin-wine", "okylin-wine": "okylin-wine", "spark-wine8": "spark-wine8", "spark-wine8-wow": "spark-wine8-wow", "deepin-wine6-vannila": "deepin-wine6-vannila", "deepin-wine8-stable": "deepin-wine8-stable", "spark-wine": "spark-wine", "deepin-wine-staging": "deepin-wine-staging"} "deepin-wine": "deepin-wine",
"deepin-wine5": "deepin-wine5",
"wine": "wine",
"wine64": "wine64",
"deepin-wine5 stable": "deepin-wine5-stable",
"deepin-wine6 stable": "deepin-wine6-stable",
"spark-wine7-devel": "spark-wine7-devel",
"ukylin-wine": "ukylin-wine",
"okylin-wine": "okylin-wine",
"spark-wine8": "spark-wine8",
"spark-wine8-wow": "spark-wine8-wow",
"deepin-wine6-vannila": "deepin-wine6-vannila",
"deepin-wine8-stable": "deepin-wine8-stable",
"spark-wine9": "spark-wine9",
"spark-wine9-wow": "spark-wine9-wow",
"spark-wine10": "spark-wine10",
"spark-wine10-wow": "spark-wine10-wow",
"spark-wine": "spark-wine",
"deepin-wine-staging": "deepin-wine-staging"
}
wineValue = wine
# 读取 wine 本地列表 # 读取 wine 本地列表
try: try:
for i in os.listdir("/opt"): for i in os.listdir("/opt"):

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,5 +1,5 @@
{ {
"Version": "4.1.4", "Version": "4.1.5",
"Time": "未知", "Time": "未知",
"Thank": [ "Thank": [
"感谢 @り哥拽的冇气质° 和 @杨 提供了 3a5000新世界的测试机器", "感谢 @り哥拽的冇气质° 和 @杨 提供了 3a5000新世界的测试机器",

View File

@@ -2230,6 +2230,8 @@ def CheckWine():
"spark-wine8-wow": "spark-wine8-wow", "spark-wine8-wow": "spark-wine8-wow",
"spark-wine9": "spark-wine9", "spark-wine9": "spark-wine9",
"spark-wine9-wow": "spark-wine9-wow", "spark-wine9-wow": "spark-wine9-wow",
"spark-wine10": "spark-wine10",
"spark-wine10-wow": "spark-wine10-wow",
"deepin-wine": "deepin-wine", "deepin-wine": "deepin-wine",
"deepin-wine5": "deepin-wine5", "deepin-wine5": "deepin-wine5",
"wine": "wine", "wine": "wine",
@@ -2498,13 +2500,14 @@ exe路径\' 参数 \'
5、wine 容器如果没有指定,则会默认为 ~/.wine 5、wine 容器如果没有指定,则会默认为 ~/.wine
6、如果可执行文件比较大的话会出现点击“获取该程序运行情况”出现假死的情况因为正在后台读取 SHA1只需要等一下即可读取速度依照您电脑处理速度、读写速度、可执行文件大小等有关 6、如果可执行文件比较大的话会出现点击“获取该程序运行情况”出现假死的情况因为正在后台读取 SHA1只需要等一下即可读取速度依照您电脑处理速度、读写速度、可执行文件大小等有关
7、如果非 X86 的用户的 UOS 专业版用户想要使用的话,只需要在应用商店安装一个 Wine 版本微信即可在本程序选择正确的 Wine 运行程序;''') 7、如果非 X86 的用户的 UOS 专业版用户想要使用的话,只需要在应用商店安装一个 Wine 版本微信即可在本程序选择正确的 Wine 运行程序;''')
updateThingsString = QtCore.QCoreApplication.translate("U", '''※1、修复安全问题 updateThingsString = QtCore.QCoreApplication.translate("U", '''※1、修复虚拟机安装工具磁盘创建问题
※2、更新 dxvk 版本至 2.5 ※2、更新 dxvk 版本至 2.6.1
※3、修复打包器生成的 deb 包参数问题 ※3、更新 winetricks 版本
※4、适配 spark-wine10
''') ''')
for i in information["Thank"]: for i in information["Thank"]:
thankText += f"{i}\n" thankText += f"{i}\n"
updateTime = "2024年09月15" updateTime = "2025年04月19"
aboutProgram = QtCore.QCoreApplication.translate("U", """<p>Wine运行器是一个能让Linux用户更加方便地运行Windows应用的程序。原版的 Wine 只能使用命令操作且安装过程较为繁琐对小白不友好。于是该运行器为了解决该痛点内置了对Wine图形化的支持、Wine 安装器、微型应用商店、各种Wine工具、自制的Wine程序打包器、运行库安装工具等。</p> aboutProgram = QtCore.QCoreApplication.translate("U", """<p>Wine运行器是一个能让Linux用户更加方便地运行Windows应用的程序。原版的 Wine 只能使用命令操作且安装过程较为繁琐对小白不友好。于是该运行器为了解决该痛点内置了对Wine图形化的支持、Wine 安装器、微型应用商店、各种Wine工具、自制的Wine程序打包器、运行库安装工具等。</p>
<p>它同时还内置了基于Qemu/VirtualBox制作的、专供小白使用的Windows虚拟机安装工具可以做到只需下载系统镜像并点击安装即可无需考虑虚拟机的安装、创建、分区等操作也能在非 X86 架构安装 X86 架构的 Windows 操作系统(但是效率较低,可以运行些老系统)。</p> <p>它同时还内置了基于Qemu/VirtualBox制作的、专供小白使用的Windows虚拟机安装工具可以做到只需下载系统镜像并点击安装即可无需考虑虚拟机的安装、创建、分区等操作也能在非 X86 架构安装 X86 架构的 Windows 操作系统(但是效率较低,可以运行些老系统)。</p>
<p>而且对于部分 Wine 应用适配者来说,提供了图形化的打包工具,以及提供了一些常用工具以及运行库的安装方式,以及能安装多种不同的 Wine 以测试效果,能极大提升适配效率。</p> <p>而且对于部分 Wine 应用适配者来说,提供了图形化的打包工具,以及提供了一些常用工具以及运行库的安装方式,以及能安装多种不同的 Wine 以测试效果,能极大提升适配效率。</p>

View File

@@ -11,9 +11,22 @@ if [[ -d /usr/lib64 ]] && [[ -d $SHELL_FOLDER/lib64 ]]; then
option="$option --dev-bind $SHELL_FOLDER/lib64 /usr/lib64 " option="$option --dev-bind $SHELL_FOLDER/lib64 /usr/lib64 "
fi fi
if [[ -d /usr/share/fonts ]]; then
option="$option --dev-bind /usr/share/fonts /usr/share/fonts "
fi
if [[ -d $SHELL_FOLDER/gnemul ]]; then
if [[ ! -d /usr/gnemul ]]; then
pkexec mkdir -p /usr/gnemul
fi
option="$option --dev-bind $SHELL_FOLDER/gnemul /usr/gnemul "
fi
bwrap --dev-bind / / \ bwrap --dev-bind / / \
--dev-bind "$SHELL_FOLDER/bin" /usr/bin \ --dev-bind "$SHELL_FOLDER/bin" /usr/bin \
--dev-bind "$SHELL_FOLDER/bin" /bin \
--dev-bind "$SHELL_FOLDER/lib" /usr/lib \ --dev-bind "$SHELL_FOLDER/lib" /usr/lib \
--dev-bind "$SHELL_FOLDER/lib" /lib \
--dev-bind /usr/lib/locale /usr/lib/locale \ --dev-bind /usr/lib/locale /usr/lib/locale \
--dev-bind "$SHELL_FOLDER/share" /usr/share \ --dev-bind "$SHELL_FOLDER/share" /usr/share \
$option \ $option \

View File

@@ -1,5 +1,5 @@
{ {
"Version": "4.1.4", "Version": "4.1.5",
"Time": "未知", "Time": "未知",
"Thank": [ "Thank": [
"感谢 @り哥拽的冇气质° 和 @杨 提供了 3a5000新世界的测试机器", "感谢 @り哥拽的冇气质° 和 @杨 提供了 3a5000新世界的测试机器",

2048
winetricks

File diff suppressed because it is too large Load Diff