mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-01-27 16:38:06 +08:00
1.0——支持指定容器运行
This commit is contained in:
parent
fc84319d1a
commit
86637375ca
50
README.md
Normal file
50
README.md
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
# deepin-wine 运行器
|
||||||
|
|
||||||
|
#### 介绍
|
||||||
|
一个图形化了以下命令的程序
|
||||||
|
|
||||||
|
```
|
||||||
|
WINEPREFIX=容器路径 deepin-wine 可执行文件路径
|
||||||
|
```
|
||||||
|
让你的 deepin-wine 打包轻松一点
|
||||||
|
是使用 Python3 的 tkinter 构建的
|
||||||
|
|
||||||
|
(测试平台:deepin 20.1 1030)
|
||||||
|
|
||||||
|
#### 软件架构
|
||||||
|
i386 和 amd64,deepin-wine 和 deepin-wine5 运行在哪就运行在哪
|
||||||
|
|
||||||
|
|
||||||
|
#### 安装教程
|
||||||
|
|
||||||
|
1. 安装所需依赖
|
||||||
|
|
||||||
|
```
|
||||||
|
sudo apt install deepin-wine python3 python3-tk git
|
||||||
|
```
|
||||||
|
|
||||||
|
2. 下载本程序
|
||||||
|
|
||||||
|
```
|
||||||
|
git clone https://gitee.com/gfdgd-xi/deep-wine-runner.git
|
||||||
|
```
|
||||||
|
|
||||||
|
3. 运行本程序
|
||||||
|
|
||||||
|
```
|
||||||
|
cd deep-wine-runner
|
||||||
|
chmod 777 main.py
|
||||||
|
./main.py
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
#### 使用说明
|
||||||
|
|
||||||
|
(均在软件的“小提示”里有说明)
|
||||||
|
1. 使用终端运行该程序,可以看到 deepin-wine(deepin-wine5) 的提示和报错
|
||||||
|
2. 暂不支持 deepin-wine(deepin-wine5) 容器路径含有空格,如有请在空格前加“\”进行转义
|
||||||
|
|
||||||
|
|
||||||
|
#### 特技
|
||||||
|
|
||||||
|
难道是使用 tkinter 进行构建吗?所以没有咯
|
2
main.py
2
main.py
@ -30,7 +30,7 @@ def about_this_program():
|
|||||||
|
|
||||||
# 显示“提示”窗口
|
# 显示“提示”窗口
|
||||||
def helps():
|
def helps():
|
||||||
tkinter.messagebox.showinfo(title="提示", message="提示:\n1、使用终端运行该程序,可以看到 deepin-wine 的提示和报错\n2、暂不支持 deepin-wine 容器路径含有空格,如有请在空格前加“\\”进行转义")
|
tkinter.messagebox.showinfo(title="提示", message="提示:\n1、使用终端运行该程序,可以看到 deepin-wine(deepin-wine5) 的提示和报错\n2、暂不支持 deepin-wine(deepin-wine5) 容器路径含有空格,如有请在空格前加“\\”进行转义")
|
||||||
|
|
||||||
window = tk.Tk()
|
window = tk.Tk()
|
||||||
window.title("deepin-wine 运行器")
|
window.title("deepin-wine 运行器")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user