Compare commits

...

15 Commits

Author SHA1 Message Date
7138c6fbb9 !9 【轻量级 PR】:Fix: Change %u to %F to avoid low wine version can't resolve file:// protocol
Some checks failed
Auto Building Wine Runner(rpm) / Explore-GitHub-Actions (push) Has been cancelled
Auto Building Wine Runner(deb) / Explore-GitHub-Actions (push) Has been cancelled
Building Wine Runner Off-line Pages(arm64) / Explore-GitHub-Actions (push) Has been cancelled
Building Wine Runner Off-line Pages(amd64) / Explore-GitHub-Actions (push) Has been cancelled
Merge pull request !9 from shenmo/N/A
2024-11-07 14:23:49 +00:00
979c573768 Fix: Change %u to %F to avoid low wine version can't resolve file:// protocol
Signed-off-by: shenmo <jifengshenmo@outlook.com>
2024-11-07 05:46:22 +00:00
9ea5e297b6 修复自动构建问题
Some checks are pending
Auto Building Wine Runner(rpm) / Explore-GitHub-Actions (push) Waiting to run
Auto Building Wine Runner(deb) / Explore-GitHub-Actions (push) Waiting to run
Building Wine Runner Off-line Pages(arm64) / Explore-GitHub-Actions (push) Waiting to run
Building Wine Runner Off-line Pages(amd64) / Explore-GitHub-Actions (push) Waiting to run
2024-11-06 22:08:25 +08:00
624b4c8b3a !7 fix: Can not pass args that starts with -- && feat: Now add --uri %u as default
Some checks are pending
Auto Building Wine Runner(rpm) / Explore-GitHub-Actions (push) Waiting to run
Auto Building Wine Runner(deb) / Explore-GitHub-Actions (push) Waiting to run
Building Wine Runner Off-line Pages(arm64) / Explore-GitHub-Actions (push) Waiting to run
Building Wine Runner Off-line Pages(amd64) / Explore-GitHub-Actions (push) Waiting to run
Merge pull request !7 from shenmo/main
2024-11-05 13:27:29 +00:00
0c4e736b12 fix: GXDE Deb Installer will install xfce-terminal when installing deb 2024-11-04 12:51:01 +08:00
0d0438bddd bump version to 4112
Signed-off-by: shenmo <jifengshenmo@outlook.com>
2024-11-04 04:44:46 +00:00
3fe1ff8a61 fix: i18n fail on GXDE 2024-11-04 08:26:29 +08:00
1fe4ed75f4 fix: Can not pass args to exe without --uri
Chore: Bump version to 4.1.1.1
2024-11-04 08:19:01 +08:00
ebf9474bc6 feat: Now we pass %u as default config 2024-11-04 07:55:46 +08:00
d7e131c778 fix: Can not pass '--xxx' options to wine progs 2024-11-04 07:51:41 +08:00
9184f42677 补充更新内容
Some checks failed
Auto Building Wine Runner(rpm) / Explore-GitHub-Actions (push) Has been cancelled
Auto Building Wine Runner(deb) / Explore-GitHub-Actions (push) Has been cancelled
Building Wine Runner Off-line Pages(arm64) / Explore-GitHub-Actions (push) Has been cancelled
Building Wine Runner Off-line Pages(amd64) / Explore-GitHub-Actions (push) Has been cancelled
2024-11-02 21:47:52 +08:00
674eff5f10 调整版本号 2024-11-02 21:45:34 +08:00
910404b54d 修复虚拟机因无法创建磁盘导致崩溃的问题 2024-11-02 21:45:08 +08:00
ab60ec15b0 !1 fix:i18n failed
Some checks failed
Auto Building Wine Runner(rpm) / Explore-GitHub-Actions (push) Has been cancelled
Auto Building Wine Runner(deb) / Explore-GitHub-Actions (push) Has been cancelled
Building Wine Runner Off-line Pages(arm64) / Explore-GitHub-Actions (push) Has been cancelled
Building Wine Runner Off-line Pages(amd64) / Explore-GitHub-Actions (push) Has been cancelled
Merge pull request !1 from shenmo/N/A
2024-10-27 08:33:25 +00:00
535dccb183 fix:i18n failed
Signed-off-by: shenmo <jifengshenmo@outlook.com>
2024-10-20 12:47:31 +00:00
19 changed files with 24 additions and 22 deletions

View File

@@ -21,7 +21,7 @@ jobs:
make package-rpm make package-rpm
mv spark-deepin-wine-runner*.rpm /home/runner/spark-deepin-wine-runner.rpm mv spark-deepin-wine-runner*.rpm /home/runner/spark-deepin-wine-runner.rpm
- name: upload result - name: upload result
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v3
with: with:
name: spark-deepin-wine-runner.rpm name: spark-deepin-wine-runner.rpm
path: /home/runner/spark-deepin-wine-runner.rpm path: /home/runner/spark-deepin-wine-runner.rpm

View File

@@ -30,7 +30,7 @@ jobs:
- name: Building DEB (termux) - name: Building DEB (termux)
run: | run: |
cd deep-wine-runner cd deep-wine-runner
make package-deb-termux -j4 make package-termux-deb -j4
mv spark-deepin-wine-runner-termux.deb ~ mv spark-deepin-wine-runner-termux.deb ~
- name: upload result - name: upload result
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3

View File

@@ -70,7 +70,7 @@ jobs:
cd .. cd ..
xz -T $cpu spark-deepin-wine-runner-off-line.tar xz -T $cpu spark-deepin-wine-runner-off-line.tar
- name: upload result - name: upload result
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v3
with: with:
name: spark-deepin-wine-runner-off-line.tar.xz name: spark-deepin-wine-runner-off-line.tar.xz
path: /home/runner/spark-deepin-wine-runner-off-line.tar.xz path: /home/runner/spark-deepin-wine-runner-off-line.tar.xz

View File

@@ -4,7 +4,7 @@ X-Categories=System;Wine;
Exec=/usr/bin/deepin-wine-runner %F Exec=/usr/bin/deepin-wine-runner %F
Icon=/opt/apps/deepin-wine-runner/deepin-wine-runner.svg Icon=/opt/apps/deepin-wine-runner/deepin-wine-runner.svg
Name=Wine Runner Name=Wine Runner
Name[zh]=Wine 运行器 Name[zh_CN]=Wine 运行器
Terminal=false Terminal=false
StartupNotify=true StartupNotify=true
Keywords=exe;scr; Keywords=exe;scr;

View File

@@ -35,7 +35,7 @@ class qemu:
def CreateDisk(self, path: str, size: int): def CreateDisk(self, path: str, size: int):
if(os.path.exists(path)): if(os.path.exists(path)):
return 0 return 0
return os.system(("qemu-img create -f qcow2 '" + self.path + "' " + str(size) + "M")) return os.system(("qemu-img create -f qcow2 '" + path + "' " + str(size) + "M"))
def CreateDiskControl(self, controlName = "storage_controller_1"): def CreateDiskControl(self, controlName = "storage_controller_1"):
return 0 return 0

View File

@@ -18,7 +18,7 @@ Depends: python3,
python3-requests, python3-requests,
python3-pyqt5 | pyqt5, python3-pyqt5 | pyqt5,
python3-psutil | pypsutil, python3-psutil | pypsutil,
xfce4-terminal | gxde-terminal | deepin-terminal | mate-terminal | gnome-terminal, gxde-terminal |xfce4-terminal | deepin-terminal | mate-terminal | gnome-terminal,
python3-dbus, python3-dbus,
python3-pip | pip, p7zip-full | p7zip-legacy | p7zip, python3-pip | pip, p7zip-full | p7zip-legacy | p7zip,
sudo, sudo,

View File

@@ -4,7 +4,7 @@ X-Categories=System;Wine;
Exec=/usr/bin/deepin-wine-package-builder "~/.wine" %F Exec=/usr/bin/deepin-wine-package-builder "~/.wine" %F
Icon=/opt/apps/deepin-wine-runner/deepin-wine-runner.svg Icon=/opt/apps/deepin-wine-runner/deepin-wine-runner.svg
Name=Wine Package Builder Name=Wine Package Builder
Name[zh]=Wine 打包器 Name[zh_CN]=Wine 打包器
Terminal=false Terminal=false
StartupNotify=true StartupNotify=true
NoDisplay=true NoDisplay=true

View File

@@ -4,7 +4,7 @@ X-Categories=System;Wine;
Exec=/usr/bin/deepin-wine-packager-easy-builder %F Exec=/usr/bin/deepin-wine-packager-easy-builder %F
Icon=/opt/apps/deepin-wine-runner/deepin-wine-runner.svg Icon=/opt/apps/deepin-wine-runner/deepin-wine-runner.svg
Name=Wine Package Builder Name=Wine Package Builder
Name[zh]=Wine 简易打包器 Name[zh_CN]=Wine 简易打包器
Terminal=false Terminal=false
StartupNotify=true StartupNotify=true
NoDisplay=true NoDisplay=true

View File

@@ -5,6 +5,6 @@ Exec=/usr/bin/deepin-wine-packager-with-script
Icon=/opt/apps/deepin-wine-runner/deepin-wine-runner.svg Icon=/opt/apps/deepin-wine-runner/deepin-wine-runner.svg
Name=Wine Package Builder For UOS Name=Wine Package Builder For UOS
NoDisplay=true NoDisplay=true
Name[zh]=Wine 打包器(基于活动脚本) Name[zh_CN]=Wine 打包器(基于活动脚本)
Terminal=false Terminal=false
StartupNotify=true StartupNotify=true

View File

@@ -4,7 +4,7 @@ X-Categories=System;Wine;
Exec=/opt/apps/deepin-wine-runner/RunVM.sh %F Exec=/opt/apps/deepin-wine-runner/RunVM.sh %F
Icon=/opt/apps/deepin-wine-runner/deepin-wine-runner.svg Icon=/opt/apps/deepin-wine-runner/deepin-wine-runner.svg
Name=Setting VirtualMachine Name=Setting VirtualMachine
Name[zh]=设置 Windows 虚拟机 Name[zh_CN]=设置 Windows 虚拟机
NoDisplay=true NoDisplay=true
Terminal=false Terminal=false
StartupNotify=true StartupNotify=true

View File

@@ -4,6 +4,6 @@ X-Categories=System;
Exec=/opt/apps/deepin-wine-runner/StartVM.sh %F Exec=/opt/apps/deepin-wine-runner/StartVM.sh %F
Icon=/opt/apps/deepin-wine-runner/deepin-wine-runner.svg Icon=/opt/apps/deepin-wine-runner/deepin-wine-runner.svg
Name=Start Windows VirtualMachine Name=Start Windows VirtualMachine
Name[zh]=开启 Windows 虚拟机 Name[zh_CN]=开启 Windows 虚拟机
Terminal=false Terminal=false
StartupNotify=true StartupNotify=true

View File

@@ -4,7 +4,7 @@ X-Categories=System;Wine;
Exec=/usr/bin/deepin-wine-runner %F Exec=/usr/bin/deepin-wine-runner %F
Icon=/opt/apps/deepin-wine-runner/deepin-wine-runner.svg Icon=/opt/apps/deepin-wine-runner/deepin-wine-runner.svg
Name=Wine Runner Name=Wine Runner
Name[zh]=Wine 运行器 Name[zh_CN]=Wine 运行器
Terminal=false Terminal=false
StartupNotify=true StartupNotify=true
Keywords=exe;scr; Keywords=exe;scr;

View File

@@ -305,7 +305,7 @@ if [ -n "$EXEC_PATH" ];then
if [ -z "${{EXEC_PATH##*.lnk*}}" ];then if [ -z "${{EXEC_PATH##*.lnk*}}" ];then
$START_SHELL_PATH $BOTTLENAME $APPVER "C:/windows/command/start.exe" "/Unix" "$EXEC_PATH" "$@" $START_SHELL_PATH $BOTTLENAME $APPVER "C:/windows/command/start.exe" "/Unix" "$EXEC_PATH" "$@"
else else
$START_SHELL_PATH $BOTTLENAME $APPVER "C:/windows/command/start.exe" "/Unix" "$EXEC_PATH" "$@" $START_SHELL_PATH $BOTTLENAME $APPVER "$EXEC_PATH" "$@"
fi fi
else else
$START_SHELL_PATH $BOTTLENAME $APPVER "uninstaller.exe" "$@" $START_SHELL_PATH $BOTTLENAME $APPVER "uninstaller.exe" "$@"
@@ -321,7 +321,7 @@ Encoding=UTF-8
Type=Application Type=Application
X-Created-By=@@@Maintainer@@@ X-Created-By=@@@Maintainer@@@
Icon=@@@Icon@@@ Icon=@@@Icon@@@
Exec="/opt/apps/@@@Package@@@/files/run.sh" Exec="/opt/apps/@@@Package@@@/files/run.sh --uri %F"
Name=@@@Name@@@ Name=@@@Name@@@
Comment=@@@Description@@@ Comment=@@@Description@@@
MimeType= MimeType=

View File

@@ -620,7 +620,7 @@ Description: {e3_text.text()}
if iconUiList[0][2].text().replace(" ", "") == "": if iconUiList[0][2].text().replace(" ", "") == "":
command = f"--uri {iconUiList[0][2].text()}" command = f"--uri {iconUiList[0][2].text()}"
else: else:
command = iconUiList[0][2].text() command = f"--uri {iconUiList[0][2].text()}" # 若要传参进入wine容器必须--uri否则是传给run.sh的
replaceMap = [ replaceMap = [
["@@@BOTTLENAME@@@", e5_text.text()], ["@@@BOTTLENAME@@@", e5_text.text()],
["@@@APPVER@@@", e2_text.text()], ["@@@APPVER@@@", e2_text.text()],
@@ -636,7 +636,7 @@ Description: {e3_text.text()}
["@@@MAINTAINER@@@", e4_text.text()], ["@@@MAINTAINER@@@", e4_text.text()],
["@@@DESCRIPTION@@@", e3_text.text()], ["@@@DESCRIPTION@@@", e3_text.text()],
["@@@DESKTOP_EXEC@@@", ["@@@DESKTOP_EXEC@@@",
f'''"/opt/apps/{e1_text.text()}/files/run.sh" {command}'''], f'''"/opt/apps/{e1_text.text()}/files/run.sh" {command} %F'''],
["@@@DESKTOP_NAME@@@", iconUiList[0][3].text()], ["@@@DESKTOP_NAME@@@", iconUiList[0][3].text()],
["@@@DESKTOP_MIMETYPE@@@", iconUiList[0][5].text()], ["@@@DESKTOP_MIMETYPE@@@", iconUiList[0][5].text()],
["@@@DESKTOP_CATEGORIES@@@", iconUiList[0][1].currentText()] ["@@@DESKTOP_CATEGORIES@@@", iconUiList[0][1].currentText()]

View File

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

View File

@@ -2482,6 +2482,8 @@ updateThingsString = QtCore.QCoreApplication.translate("U", '''※1、修复没
※2、修复虚拟机功能异常的问题https://gitee.com/gfdgd-xi/deep-wine-runner/issues/IASRHG ※2、修复虚拟机功能异常的问题https://gitee.com/gfdgd-xi/deep-wine-runner/issues/IASRHG
※3、修复打包器生成的 deb 不可用的问题https://gitee.com/gfdgd-xi/deep-wine-runner/issues/IAXE1T ※3、修复打包器生成的 deb 不可用的问题https://gitee.com/gfdgd-xi/deep-wine-runner/issues/IAXE1T
※4、打包器针对 GXDE OS 进行优化 ※4、打包器针对 GXDE OS 进行优化
※5、修复虚拟机因无法创建磁盘导致崩溃的问题
※6、修复中文问题
''') ''')
for i in information["Thank"]: for i in information["Thank"]:
thankText += f"{i}\n" thankText += f"{i}\n"

View File

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

View File

@@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# Copyright (C) 2016 Deepin, Inc. # Copyright (C) 2016 Deepin, Inc.
# #
@@ -109,7 +109,7 @@ if [ -n "$EXEC_PATH" ];then
if [ -z "${EXEC_PATH##*.lnk*}" ];then if [ -z "${EXEC_PATH##*.lnk*}" ];then
$START_SHELL_PATH $BOTTLENAME $APPVER "C:/windows/command/start.exe" "/Unix" "$EXEC_PATH" "$@" $START_SHELL_PATH $BOTTLENAME $APPVER "C:/windows/command/start.exe" "/Unix" "$EXEC_PATH" "$@"
else else
$START_SHELL_PATH $BOTTLENAME $APPVER "C:/windows/command/start.exe" "/Unix" "$EXEC_PATH" "$@" $START_SHELL_PATH $BOTTLENAME $APPVER "$EXEC_PATH" "$@"
fi fi
else else
$START_SHELL_PATH $BOTTLENAME $APPVER "uninstaller.exe" "$@" $START_SHELL_PATH $BOTTLENAME $APPVER "uninstaller.exe" "$@"

View File

@@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# Copyright (C) 2016 Deepin, Inc. # Copyright (C) 2016 Deepin, Inc.
# #
@@ -156,7 +156,7 @@ if [ -n "$EXEC_PATH" ];then
if [ -z "${EXEC_PATH##*.lnk*}" ];then if [ -z "${EXEC_PATH##*.lnk*}" ];then
$START_SHELL_PATH $BOTTLENAME $APPVER "C:/windows/command/start.exe" "/Unix" "$EXEC_PATH" "$@" $START_SHELL_PATH $BOTTLENAME $APPVER "C:/windows/command/start.exe" "/Unix" "$EXEC_PATH" "$@"
else else
$START_SHELL_PATH $BOTTLENAME $APPVER "C:/windows/command/start.exe" "/Unix" "$EXEC_PATH" "$@" $START_SHELL_PATH $BOTTLENAME $APPVER "$EXEC_PATH" "$@"
fi fi
else else
$START_SHELL_PATH $BOTTLENAME $APPVER "uninstaller.exe" "$@" $START_SHELL_PATH $BOTTLENAME $APPVER "uninstaller.exe" "$@"