mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-05-24 17:09:49 +08:00
1.7.0的初步功能实现
This commit is contained in:
parent
66784bae62
commit
5bd64c9e64
8
RunVM.sh
8
RunVM.sh
@ -1,4 +1,12 @@
|
||||
#!/bin/bash
|
||||
# 使用系统默认的 bash 运行
|
||||
###########################################################################################
|
||||
# 作者:gfdgd xi、为什么您不喜欢熊出没和阿布呢
|
||||
# 版本:1.7.0
|
||||
# 更新时间:2022年07月15日
|
||||
# 感谢:感谢 wine 以及 deepin-wine 团队,提供了 wine 和 deepin-wine 给大家使用,让我能做这个程序
|
||||
# 基于 Python3 的 tkinter 构建
|
||||
###########################################################################################
|
||||
cd `dirname $0`
|
||||
which VBoxManage
|
||||
if test $? == 0 ; then
|
||||
|
22
StartVM.sh
Executable file
22
StartVM.sh
Executable file
@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
# 使用系统默认的 bash 运行
|
||||
###########################################################################################
|
||||
# 作者:gfdgd xi、为什么您不喜欢熊出没和阿布呢
|
||||
# 版本:1.7.0
|
||||
# 更新时间:2022年07月15日
|
||||
# 感谢:感谢 wine 以及 deepin-wine 团队,提供了 wine 和 deepin-wine 给大家使用,让我能做这个程序
|
||||
# 基于 Python3 的 tkinter 构建
|
||||
###########################################################################################
|
||||
VBoxManage showvminfo Windows
|
||||
if test 0 == $?; then
|
||||
# 检测到虚拟机存在,启动虚拟机
|
||||
VBoxManage startvm Windows
|
||||
exit
|
||||
fi
|
||||
zenity --question --no-wrap --text="检查到您未创建所指定的虚拟机,是否创建虚拟机并继续?\n如果不创建将无法使用"
|
||||
if test 1 == $?; then
|
||||
# 用户不想创建虚拟机,结束
|
||||
exit
|
||||
fi
|
||||
cd `dirname $0`
|
||||
./VM/VirtualMachine
|
3
demo1.py
3
demo1.py
@ -3,10 +3,9 @@ from tkinter import ttk
|
||||
|
||||
root = tk.Tk()
|
||||
root.title("wine运行器1.6.0")
|
||||
#root.geometry("1275x900")
|
||||
root.geometry("1275x900")
|
||||
|
||||
frame_up = tk.Frame(root)
|
||||
|
||||
frame_left = tk.Frame(frame_up)#快速启动区
|
||||
frame_left.config(bd=30)
|
||||
#
|
||||
|
@ -940,7 +940,7 @@ label_l_1 = ttk.Label(frame_left_2,text="请选择容器的路径:")
|
||||
label_l_1.config(font=("幼圆",16))
|
||||
label_l_1.grid(row=0,column=0,sticky='w')
|
||||
##
|
||||
e1 = ttk.Combobox(frame_left_2, width=50)
|
||||
e1 = ttk.Combobox(frame_left_2, width=65)
|
||||
e1.grid(row=1,column=0)
|
||||
##
|
||||
button1 = tk.Button(frame_left_2,text="浏览", command=liulanbutton)
|
||||
@ -954,7 +954,7 @@ label_l_2 = ttk.Label(frame_left_3,text="请选择待执行程序:")
|
||||
label_l_2.config(font=("幼圆",16))
|
||||
label_l_2.grid(row=0,column=0,sticky='w')
|
||||
##
|
||||
e2 = ttk.Combobox(frame_left_3, width=50)
|
||||
e2 = ttk.Combobox(frame_left_3, width=65)
|
||||
e2.grid(row=1,column=0)
|
||||
##
|
||||
button2 = tk.Button(frame_left_3,text="浏览", command=liulanexebutton)
|
||||
@ -1013,7 +1013,7 @@ label_r_2 = ttk.Label(frame_right_3,text="名称:")
|
||||
label_r_2.config(font=("幼圆",14))
|
||||
label_r_2.grid(row=0,column=0)
|
||||
##
|
||||
combobox1 = ttk.Combobox(frame_right_3,width=15)
|
||||
combobox1 = ttk.Combobox(frame_right_3,width=20)
|
||||
combobox1.grid(row=0,column=1)
|
||||
##
|
||||
empty1 = ttk.Label(frame_right_3,text=" "*5)
|
||||
|
4
main.py
4
main.py
@ -2,8 +2,8 @@
|
||||
# 使用系统默认的 python3 运行
|
||||
###########################################################################################
|
||||
# 作者:gfdgd xi、为什么您不喜欢熊出没和阿布呢
|
||||
# 版本:1.6.1
|
||||
# 更新时间:2022年07月11日
|
||||
# 版本:1.7.0
|
||||
# 更新时间:2022年07月15日
|
||||
# 感谢:感谢 wine 以及 deepin-wine 团队,提供了 wine 和 deepin-wine 给大家使用,让我能做这个程序
|
||||
# 基于 Python3 的 tkinter 构建
|
||||
###########################################################################################
|
||||
|
Loading…
x
Reference in New Issue
Block a user