mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2026-08-07 06:13:57 +08:00
Compare commits
50
Commits
3.2.0
..
3.2.1alpha2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aaf7ccb793 | ||
|
|
81ae9751cd | ||
|
|
4a693831d1 | ||
|
|
4a438a2732 | ||
|
|
2105f6f9fc | ||
|
|
bddd39ae7b | ||
|
|
f913cde28e | ||
|
|
c0eb6410ee | ||
|
|
20fc7f75f2 | ||
|
|
603d7a3827 | ||
|
|
620cea5136 | ||
|
|
db5cee1345 | ||
|
|
9132acc0f6 | ||
|
|
03bcb9cb4e | ||
|
|
25f399b5cc | ||
|
|
b1d4710ddd | ||
|
|
eb72ed46a2 | ||
|
|
8ede908e73 | ||
|
|
9f61096967 | ||
|
|
df96b2fd7f | ||
|
|
6a44167c9a | ||
|
|
125aa730c2 | ||
|
|
c61607de13 | ||
|
|
0a643cb808 | ||
|
|
afb0754795 | ||
|
|
2157a4df0d | ||
|
|
2320317961 | ||
|
|
3b8d32aa69 | ||
|
|
f170dd093f | ||
|
|
fc06f42161 | ||
|
|
a471fe43d2 | ||
|
|
33d115c836 | ||
|
|
78d359a3db | ||
|
|
b7c3ebf024 | ||
|
|
a1d61c2b65 | ||
|
|
fa8a2a0685 | ||
|
|
3d6067d4c4 | ||
|
|
266bd65372 | ||
|
|
a615098594 | ||
|
|
0caecc9181 | ||
|
|
baf3fbefdd | ||
|
|
fd78edd2f7 | ||
|
|
002a6e309d | ||
|
|
8a061efa2b | ||
|
|
cc9298f6af | ||
|
|
05c297647e | ||
|
|
ba91aae7e1 | ||
|
|
c3062915f4 | ||
|
|
542668311d | ||
|
|
8dc9db1f59 |
Generated
-3
@@ -1,3 +0,0 @@
|
|||||||
# Default ignored files
|
|
||||||
/shelf/
|
|
||||||
/workspace.xml
|
|
||||||
Generated
-8
@@ -1,8 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<module type="PYTHON_MODULE" version="4">
|
|
||||||
<component name="NewModuleRootManager">
|
|
||||||
<content url="file://$MODULE_DIR$" />
|
|
||||||
<orderEntry type="jdk" jdkName="Python 3.10" jdkType="Python SDK" />
|
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
|
||||||
</component>
|
|
||||||
</module>
|
|
||||||
-6
@@ -1,6 +0,0 @@
|
|||||||
<component name="InspectionProjectProfileManager">
|
|
||||||
<settings>
|
|
||||||
<option name="USE_PROJECT_PROFILE" value="false" />
|
|
||||||
<version value="1.0" />
|
|
||||||
</settings>
|
|
||||||
</component>
|
|
||||||
Generated
-4
@@ -1,4 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.10" project-jdk-type="Python SDK" />
|
|
||||||
</project>
|
|
||||||
Generated
-8
@@ -1,8 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="ProjectModuleManager">
|
|
||||||
<modules>
|
|
||||||
<module fileurl="file://$PROJECT_DIR$/.idea/deepin-wine-run.iml" filepath="$PROJECT_DIR$/.idea/deepin-wine-run.iml" />
|
|
||||||
</modules>
|
|
||||||
</component>
|
|
||||||
</project>
|
|
||||||
Generated
-6
@@ -1,6 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="VcsDirectoryMappings">
|
|
||||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
|
||||||
</component>
|
|
||||||
</project>
|
|
||||||
@@ -1,52 +0,0 @@
|
|||||||
version: '1.0'
|
|
||||||
name: branch-pipeline
|
|
||||||
displayName: BranchPipeline
|
|
||||||
stages:
|
|
||||||
- stage:
|
|
||||||
name: compile
|
|
||||||
displayName: 编译
|
|
||||||
steps:
|
|
||||||
- step: build@python
|
|
||||||
name: build_python
|
|
||||||
displayName: Python 构建
|
|
||||||
pythonVersion: '3.9'
|
|
||||||
# 非必填字段,开启后表示将构建产物暂存,但不会上传到制品库中,7天后自动清除
|
|
||||||
artifacts:
|
|
||||||
# 构建产物名字,作为产物的唯一标识可向下传递,支持自定义,默认为BUILD_ARTIFACT。在下游可以通过${BUILD_ARTIFACT}方式引用来获取构建物地址
|
|
||||||
- name: BUILD_ARTIFACT
|
|
||||||
# 构建产物获取路径,是指代码编译完毕之后构建物的所在路径
|
|
||||||
path:
|
|
||||||
- ./
|
|
||||||
commands:
|
|
||||||
- python3 -m pip install --upgrade pip
|
|
||||||
- pip3 config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
|
|
||||||
- pip3 install -r requirements.txt
|
|
||||||
- python3 ./main.py
|
|
||||||
- step: publish@general_artifacts
|
|
||||||
name: publish_general_artifacts
|
|
||||||
displayName: 上传制品
|
|
||||||
# 上游构建任务定义的产物名,默认BUILD_ARTIFACT
|
|
||||||
dependArtifact: BUILD_ARTIFACT
|
|
||||||
# 上传到制品库时的制品命名,默认output
|
|
||||||
artifactName: output
|
|
||||||
dependsOn: build_python
|
|
||||||
- stage:
|
|
||||||
name: release
|
|
||||||
displayName: 发布
|
|
||||||
steps:
|
|
||||||
- step: publish@release_artifacts
|
|
||||||
name: publish_release_artifacts
|
|
||||||
displayName: '发布'
|
|
||||||
# 上游上传制品任务的产出
|
|
||||||
dependArtifact: output
|
|
||||||
# 发布制品版本号
|
|
||||||
version: '1.0.0.0'
|
|
||||||
# 是否开启版本号自增,默认开启
|
|
||||||
autoIncrement: true
|
|
||||||
triggers:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
exclude:
|
|
||||||
- master
|
|
||||||
include:
|
|
||||||
- .*
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
version: '1.0'
|
|
||||||
name: master-pipeline
|
|
||||||
displayName: MasterPipeline
|
|
||||||
stages:
|
|
||||||
- stage:
|
|
||||||
name: compile
|
|
||||||
displayName: 编译
|
|
||||||
steps:
|
|
||||||
- step: build@python
|
|
||||||
name: build_python
|
|
||||||
displayName: Python 构建
|
|
||||||
pythonVersion: '3.9'
|
|
||||||
# 非必填字段,开启后表示将构建产物暂存,但不会上传到制品库中,7天后自动清除
|
|
||||||
artifacts:
|
|
||||||
# 构建产物名字,作为产物的唯一标识可向下传递,支持自定义,默认为BUILD_ARTIFACT。在下游可以通过${BUILD_ARTIFACT}方式引用来获取构建物地址
|
|
||||||
- name: BUILD_ARTIFACT
|
|
||||||
# 构建产物获取路径,是指代码编译完毕之后构建物的所在路径
|
|
||||||
path:
|
|
||||||
- ./
|
|
||||||
commands:
|
|
||||||
- python3 -m pip install --upgrade pip
|
|
||||||
- pip3 config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
|
|
||||||
- pip3 install -r requirements.txt
|
|
||||||
- python3 ./main.py
|
|
||||||
- step: publish@general_artifacts
|
|
||||||
name: publish_general_artifacts
|
|
||||||
displayName: 上传制品
|
|
||||||
# 上游构建任务定义的产物名,默认BUILD_ARTIFACT
|
|
||||||
dependArtifact: BUILD_ARTIFACT
|
|
||||||
# 上传到制品库时的制品命名,默认output
|
|
||||||
artifactName: output
|
|
||||||
dependsOn: build_python
|
|
||||||
- stage:
|
|
||||||
name: release
|
|
||||||
displayName: 发布
|
|
||||||
steps:
|
|
||||||
- step: publish@release_artifacts
|
|
||||||
name: publish_release_artifacts
|
|
||||||
displayName: '发布'
|
|
||||||
# 上游上传制品任务的产出
|
|
||||||
dependArtifact: output
|
|
||||||
# 发布制品版本号
|
|
||||||
version: '1.0.0.0'
|
|
||||||
# 是否开启版本号自增,默认开启
|
|
||||||
autoIncrement: true
|
|
||||||
triggers:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
include:
|
|
||||||
- master
|
|
||||||
@@ -1,37 +0,0 @@
|
|||||||
version: '1.0'
|
|
||||||
name: pr-pipeline
|
|
||||||
displayName: PRPipeline
|
|
||||||
stages:
|
|
||||||
- stage:
|
|
||||||
name: compile
|
|
||||||
displayName: 编译
|
|
||||||
steps:
|
|
||||||
- step: build@python
|
|
||||||
name: build_python
|
|
||||||
displayName: Python 构建
|
|
||||||
pythonVersion: '3.9'
|
|
||||||
# 非必填字段,开启后表示将构建产物暂存,但不会上传到制品库中,7天后自动清除
|
|
||||||
artifacts:
|
|
||||||
# 构建产物名字,作为产物的唯一标识可向下传递,支持自定义,默认为BUILD_ARTIFACT。在下游可以通过${BUILD_ARTIFACT}方式引用来获取构建物地址
|
|
||||||
- name: BUILD_ARTIFACT
|
|
||||||
# 构建产物获取路径,是指代码编译完毕之后构建物的所在路径
|
|
||||||
path:
|
|
||||||
- ./
|
|
||||||
commands:
|
|
||||||
- python3 -m pip install --upgrade pip
|
|
||||||
- pip3 config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
|
|
||||||
- pip3 install -r requirements.txt
|
|
||||||
- python3 ./main.py
|
|
||||||
- step: publish@general_artifacts
|
|
||||||
name: publish_general_artifacts
|
|
||||||
displayName: 上传制品
|
|
||||||
# 上游构建任务定义的产物名,默认BUILD_ARTIFACT
|
|
||||||
dependArtifact: BUILD_ARTIFACT
|
|
||||||
# 上传到制品库时的制品命名,默认output
|
|
||||||
artifactName: output
|
|
||||||
dependsOn: build_python
|
|
||||||
triggers:
|
|
||||||
pr:
|
|
||||||
branches:
|
|
||||||
include:
|
|
||||||
- master
|
|
||||||
@@ -11,6 +11,7 @@
|
|||||||
# 引入所需的库
|
# 引入所需的库
|
||||||
#################
|
#################
|
||||||
import os
|
import os
|
||||||
|
import updatekiller
|
||||||
|
|
||||||
def AddSparkStoreSource():
|
def AddSparkStoreSource():
|
||||||
# Download and install key
|
# Download and install key
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ import os
|
|||||||
import sys
|
import sys
|
||||||
import json
|
import json
|
||||||
import pyquery
|
import pyquery
|
||||||
|
import updatekiller
|
||||||
import req as requests
|
import req as requests
|
||||||
import urllib.parse as parse
|
import urllib.parse as parse
|
||||||
|
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ import sys
|
|||||||
import base64
|
import base64
|
||||||
import json
|
import json
|
||||||
import traceback
|
import traceback
|
||||||
|
import updatekiller
|
||||||
import urllib.request
|
import urllib.request
|
||||||
import req as requests
|
import req as requests
|
||||||
import PyQt5.QtWidgets as QtWidgets
|
import PyQt5.QtWidgets as QtWidgets
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import traceback
|
import traceback
|
||||||
|
import updatekiller
|
||||||
import PyQt5.QtGui as QtGui
|
import PyQt5.QtGui as QtGui
|
||||||
import PyQt5.QtCore as QtCore
|
import PyQt5.QtCore as QtCore
|
||||||
import PyQt5.QtWidgets as QtWidgets
|
import PyQt5.QtWidgets as QtWidgets
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ import sys
|
|||||||
import time
|
import time
|
||||||
import json
|
import json
|
||||||
import random
|
import random
|
||||||
|
import updatekiller
|
||||||
# 阉割 Android 应用安装功能
|
# 阉割 Android 应用安装功能
|
||||||
#import uengineapi
|
#import uengineapi
|
||||||
import platform
|
import platform
|
||||||
|
|||||||
Executable
BIN
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
wget -O- https://deepin-wine.i-m.dev/setup.sh | sh
|
||||||
|
echo 安装完成,按回车键后退出
|
||||||
|
read
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
which git > /dev/null
|
||||||
|
if [[ $? != 0 ]]; then
|
||||||
|
sudo apt install git -y
|
||||||
|
fi
|
||||||
|
cd /tmp
|
||||||
|
if [ -d /tmp/deepin-wine-for-ubuntu ]; then
|
||||||
|
rm -rf /tmp/deepin-wine-for-ubuntu
|
||||||
|
fi
|
||||||
|
git clone https://gitee.com/wszqkzqk/deepin-wine-for-ubuntu.git
|
||||||
|
cd deepin-wine-for-ubuntu
|
||||||
|
bash install.sh
|
||||||
|
echo 安装完成,按回车键退出
|
||||||
|
read
|
||||||
@@ -13,6 +13,7 @@
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import json
|
import json
|
||||||
|
import updatekiller
|
||||||
import traceback
|
import traceback
|
||||||
import req as requests
|
import req as requests
|
||||||
def exit():
|
def exit():
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ import os
|
|||||||
import sys
|
import sys
|
||||||
import json
|
import json
|
||||||
import shutil
|
import shutil
|
||||||
|
import updatekiller
|
||||||
import req as requests
|
import req as requests
|
||||||
homePath = os.path.expanduser('~')
|
homePath = os.path.expanduser('~')
|
||||||
try:
|
try:
|
||||||
|
|||||||
@@ -12,6 +12,7 @@
|
|||||||
#################
|
#################
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
import updatekiller
|
||||||
import traceback
|
import traceback
|
||||||
import pyquery
|
import pyquery
|
||||||
|
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import json
|
import json
|
||||||
|
import updatekiller
|
||||||
import req as requests
|
import req as requests
|
||||||
try:
|
try:
|
||||||
sourcesList = [
|
sourcesList = [
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import json
|
import json
|
||||||
|
import updatekiller
|
||||||
import req as requests
|
import req as requests
|
||||||
try:
|
try:
|
||||||
sourcesList = [
|
sourcesList = [
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import json
|
import json
|
||||||
|
import updatekiller
|
||||||
import req as requests
|
import req as requests
|
||||||
try:
|
try:
|
||||||
sourcesList = [
|
sourcesList = [
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# 判断是否有安装 Qemu User
|
# 判断是否有安装 Qemu User
|
||||||
which qemu-i386 > /dev/null
|
which qemu-i386 > /dev/null
|
||||||
if [[ !$? ]]; then
|
if [[ $? == 0 ]]; then
|
||||||
echo 您已安装过 Qemu User,按回车键后退出
|
echo 您已安装过 Qemu User,按回车键后退出
|
||||||
read
|
read
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
@@ -16,5 +16,6 @@ fi
|
|||||||
aria2c -x 16 -s 16 -c $url -d /tmp -o $fileName
|
aria2c -x 16 -s 16 -c $url -d /tmp -o $fileName
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo dpkg -i /tmp/$fileName
|
sudo dpkg -i /tmp/$fileName
|
||||||
|
sudo apt install qemu-user qemu-user-static binfmt-support -y
|
||||||
echo 安装完成,按回车键退出
|
echo 安装完成,按回车键退出
|
||||||
read
|
read
|
||||||
@@ -15,6 +15,7 @@ if [[ -f /tmp/$fileName ]]; then
|
|||||||
fi
|
fi
|
||||||
aria2c -x 16 -s 16 -c $url -d /tmp -o $fileName
|
aria2c -x 16 -s 16 -c $url -d /tmp -o $fileName
|
||||||
sudo apt update
|
sudo apt update
|
||||||
|
sudo apt install qemu-user qemu-user-static binfmt-support -y
|
||||||
sudo dpkg -i /tmp/$fileName
|
sudo dpkg -i /tmp/$fileName
|
||||||
echo 安装完成,按回车键退出
|
echo 安装完成,按回车键退出
|
||||||
read
|
read
|
||||||
@@ -15,6 +15,7 @@ if [[ -f /tmp/$fileName ]]; then
|
|||||||
fi
|
fi
|
||||||
aria2c -x 16 -s 16 -c $url -d /tmp -o $fileName
|
aria2c -x 16 -s 16 -c $url -d /tmp -o $fileName
|
||||||
sudo apt update
|
sudo apt update
|
||||||
|
sudo apt install qemu-user qemu-user-static binfmt-support -y
|
||||||
sudo dpkg -i /tmp/$fileName
|
sudo dpkg -i /tmp/$fileName
|
||||||
echo 安装完成,按回车键退出
|
echo 安装完成,按回车键退出
|
||||||
read
|
read
|
||||||
@@ -15,6 +15,7 @@ if [[ -f /tmp/$fileName ]]; then
|
|||||||
fi
|
fi
|
||||||
aria2c -x 16 -s 16 -c $url -d /tmp -o $fileName
|
aria2c -x 16 -s 16 -c $url -d /tmp -o $fileName
|
||||||
sudo apt update
|
sudo apt update
|
||||||
|
sudo apt install qemu-user qemu-user-static binfmt-support -y
|
||||||
sudo dpkg -i /tmp/$fileName
|
sudo dpkg -i /tmp/$fileName
|
||||||
echo 安装完成,按回车键退出
|
echo 安装完成,按回车键退出
|
||||||
read
|
read
|
||||||
@@ -15,6 +15,7 @@ if [[ -f /tmp/$fileName ]]; then
|
|||||||
fi
|
fi
|
||||||
aria2c -x 16 -s 16 -c $url -d /tmp -o $fileName
|
aria2c -x 16 -s 16 -c $url -d /tmp -o $fileName
|
||||||
sudo apt update
|
sudo apt update
|
||||||
|
sudo apt install qemu-user qemu-user-static binfmt-support -y
|
||||||
sudo dpkg -i /tmp/$fileName
|
sudo dpkg -i /tmp/$fileName
|
||||||
echo 安装完成,按回车键退出
|
echo 安装完成,按回车键退出
|
||||||
read
|
read
|
||||||
@@ -15,6 +15,7 @@ if [[ -f /tmp/$fileName ]]; then
|
|||||||
fi
|
fi
|
||||||
aria2c -x 16 -s 16 -c $url -d /tmp -o $fileName
|
aria2c -x 16 -s 16 -c $url -d /tmp -o $fileName
|
||||||
sudo apt update
|
sudo apt update
|
||||||
|
sudo apt install qemu-user qemu-user-static binfmt-support -y
|
||||||
sudo dpkg -i /tmp/$fileName
|
sudo dpkg -i /tmp/$fileName
|
||||||
echo 安装完成,按回车键退出
|
echo 安装完成,按回车键退出
|
||||||
read
|
read
|
||||||
@@ -13,6 +13,7 @@
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import json
|
import json
|
||||||
|
import updatekiller
|
||||||
import req as requests
|
import req as requests
|
||||||
try:
|
try:
|
||||||
sourcesList = [
|
sourcesList = [
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import json
|
import json
|
||||||
|
import updatekiller
|
||||||
import req as requests
|
import req as requests
|
||||||
try:
|
try:
|
||||||
sourcesList = [
|
sourcesList = [
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
# 引入所需的库
|
# 引入所需的库
|
||||||
#################
|
#################
|
||||||
import os
|
import os
|
||||||
|
import updatekiller
|
||||||
|
|
||||||
def InstallWithDeepinSource(program):
|
def InstallWithDeepinSource(program):
|
||||||
os.system(f"sudo cp '{programPath}/deepin.list' /etc/apt/sources.list.d/deepin20-withwinerunner.list")
|
os.system(f"sudo cp '{programPath}/deepin.list' /etc/apt/sources.list.d/deepin20-withwinerunner.list")
|
||||||
|
|||||||
@@ -12,6 +12,7 @@
|
|||||||
#################
|
#################
|
||||||
import os
|
import os
|
||||||
import webbrowser
|
import webbrowser
|
||||||
|
import updatekiller
|
||||||
|
|
||||||
def YesOrNo():
|
def YesOrNo():
|
||||||
if input().replace(" ", "").upper() == "N":
|
if input().replace(" ", "").upper() == "N":
|
||||||
|
|||||||
@@ -3,6 +3,9 @@ build:
|
|||||||
|
|
||||||
clean:
|
clean:
|
||||||
python3 RemovePycacheFile.py
|
python3 RemovePycacheFile.py
|
||||||
|
cd VM-source ; make clean
|
||||||
|
rm VM-source/VirtualMachine -rfv
|
||||||
|
rm -rfv VM-source/.qmake.stash
|
||||||
|
|
||||||
package:
|
package:
|
||||||
#cd VM-source && qmake
|
#cd VM-source && qmake
|
||||||
@@ -10,7 +13,7 @@ package:
|
|||||||
#cd wine && make
|
#cd wine && make
|
||||||
make clean -j$(nproc)
|
make clean -j$(nproc)
|
||||||
cp -rv helperset deb/opt/apps/deepin-wine-runner/
|
cp -rv helperset deb/opt/apps/deepin-wine-runner/
|
||||||
cp -rv VM-source/VirtualMachine VM
|
#cp -rv VM-source/VirtualMachine VM
|
||||||
cp -rv VM-source/deepin-wine-runner.svg VM
|
cp -rv VM-source/deepin-wine-runner.svg VM
|
||||||
cp -rv VM-source/Windows7X64Auto.iso VM
|
cp -rv VM-source/Windows7X64Auto.iso VM
|
||||||
cp -rv VM-source/Windows7X86Auto.iso VM
|
cp -rv VM-source/Windows7X86Auto.iso VM
|
||||||
@@ -26,6 +29,7 @@ package:
|
|||||||
cp -rv QemuDownload.py deb/opt/apps/deepin-wine-runner
|
cp -rv QemuDownload.py deb/opt/apps/deepin-wine-runner
|
||||||
cp -rv QemuRun.py deb/opt/apps/deepin-wine-runner
|
cp -rv QemuRun.py deb/opt/apps/deepin-wine-runner
|
||||||
cp -rv kill.sh deb/opt/apps/deepin-wine-runner
|
cp -rv kill.sh deb/opt/apps/deepin-wine-runner
|
||||||
|
cp -rv updatekiller.py deb/opt/apps/deepin-wine-runner
|
||||||
cp -rv InstallWineOnDeepin23Alpha.py deb/opt/apps/deepin-wine-runner
|
cp -rv InstallWineOnDeepin23Alpha.py deb/opt/apps/deepin-wine-runner
|
||||||
cp -rv wrestool deb/opt/apps/deepin-wine-runner
|
cp -rv wrestool deb/opt/apps/deepin-wine-runner
|
||||||
cp -rv Mount.sh deb/opt/apps/deepin-wine-runner
|
cp -rv Mount.sh deb/opt/apps/deepin-wine-runner
|
||||||
@@ -35,6 +39,8 @@ package:
|
|||||||
cp -rv IconList.json deb/opt/apps/deepin-wine-runner
|
cp -rv IconList.json deb/opt/apps/deepin-wine-runner
|
||||||
cp -rv GetEXEVersion.exe deb/opt/apps/deepin-wine-runner
|
cp -rv GetEXEVersion.exe deb/opt/apps/deepin-wine-runner
|
||||||
cp -rv MountWithoutHome.sh deb/opt/apps/deepin-wine-runner
|
cp -rv MountWithoutHome.sh deb/opt/apps/deepin-wine-runner
|
||||||
|
cp -rv RunCommandWithTerminal.py deb/opt/apps/deepin-wine-runner
|
||||||
|
cp -rv QemuSystemInstall.sh deb/opt/apps/deepin-wine-runner
|
||||||
echo "[]" > deb/opt/apps/deepin-wine-runner/wine/winelist.json
|
echo "[]" > deb/opt/apps/deepin-wine-runner/wine/winelist.json
|
||||||
rm -rfv deb/opt/apps/deepin-wine-runner/wine/winelist.json
|
rm -rfv deb/opt/apps/deepin-wine-runner/wine/winelist.json
|
||||||
cp -rv req deb/opt/apps/deepin-wine-runner
|
cp -rv req deb/opt/apps/deepin-wine-runner
|
||||||
@@ -100,6 +106,11 @@ package:
|
|||||||
cp -rv Model deb/opt/apps/deepin-wine-runner
|
cp -rv Model deb/opt/apps/deepin-wine-runner
|
||||||
cp -rv API deb/opt/apps/deepin-wine-runner
|
cp -rv API deb/opt/apps/deepin-wine-runner
|
||||||
cp -rv key deb/opt/apps/deepin-wine-runner
|
cp -rv key deb/opt/apps/deepin-wine-runner
|
||||||
|
cp -rv InstallQemuUser.sh deb/opt/apps/deepin-wine-runner
|
||||||
|
cp -rv RemoveQemuUser.sh deb/opt/apps/deepin-wine-runner
|
||||||
|
cp -rv InstallBox86.sh deb/opt/apps/deepin-wine-runner
|
||||||
|
cp -rv InstallRuntime deb/opt/apps/deepin-wine-runner
|
||||||
|
python3 UpdateTime.py
|
||||||
python3 RemovePycacheFile.py
|
python3 RemovePycacheFile.py
|
||||||
cp -rv deb /tmp/spark-deepin-wine-runner-builder
|
cp -rv deb /tmp/spark-deepin-wine-runner-builder
|
||||||
mkdir -pv /tmp/spark-deepin-wine-runner-builder/usr/bin
|
mkdir -pv /tmp/spark-deepin-wine-runner-builder/usr/bin
|
||||||
@@ -136,7 +147,7 @@ install:
|
|||||||
sudo apt reinstall ./spark-deepin-wine-runner.deb -y --allow-downgrades
|
sudo apt reinstall ./spark-deepin-wine-runner.deb -y --allow-downgrades
|
||||||
|
|
||||||
remove:
|
remove:
|
||||||
sudo apt purge spark-deepin-wine-runner
|
sudo apt purge spark-deepin-wine-runner -y
|
||||||
|
|
||||||
run:
|
run:
|
||||||
python3 mainwindow.py
|
python3 mainwindow.py
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import PyQt5.QtWidgets as QtWidgets
|
import PyQt5.QtWidgets as QtWidgets
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import os
|
|||||||
import sys
|
import sys
|
||||||
import base64
|
import base64
|
||||||
import traceback
|
import traceback
|
||||||
|
import updatekiller
|
||||||
import req as requests
|
import req as requests
|
||||||
import PyQt5.QtGui as QtGui
|
import PyQt5.QtGui as QtGui
|
||||||
import PyQt5.QtCore as QtCore
|
import PyQt5.QtCore as QtCore
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ import os
|
|||||||
import shutil
|
import shutil
|
||||||
import random
|
import random
|
||||||
import sys
|
import sys
|
||||||
|
import updatekiller
|
||||||
import json
|
import json
|
||||||
import traceback
|
import traceback
|
||||||
import requests
|
import requests
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import getpass
|
import getpass
|
||||||
|
import updatekiller
|
||||||
import PyQt5.QtWidgets as QtWidgets
|
import PyQt5.QtWidgets as QtWidgets
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|||||||
Executable
+4
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
pkexec apt install qemu-system -y
|
||||||
|
echo 安装完成!按回车键退出
|
||||||
|
read
|
||||||
@@ -48,7 +48,7 @@ env WINEPREFIX=容器路径 wine(wine的路径) 可执行文件路径
|
|||||||
1. 用 Wine 运行 EXE
|
1. 用 Wine 运行 EXE
|
||||||
2. 支持下载/安装 Wine
|
2. 支持下载/安装 Wine
|
||||||
3. 支持下载定制好的 Chroot 容器并使用 Qemu 调用运行
|
3. 支持下载定制好的 Chroot 容器并使用 Qemu 调用运行
|
||||||
4. 支持**半自动**安装 Windows 7 镜像至 VirtualBox(只限 x86_64)
|
4. 支持**半自动**安装 Windows 7 镜像至 VirtualBox/Qemu
|
||||||
5. 支持打包 Wine 应用(简易打包器/基于生态适配脚本的打包器/高级打包器)
|
5. 支持打包 Wine 应用(简易打包器/基于生态适配脚本的打包器/高级打包器)
|
||||||
6. 检测容器缺失 DLL 并下载
|
6. 检测容器缺失 DLL 并下载
|
||||||
7. 支持在线/本地拉取 Wine 容器配置方案并部署(初步应用商店)
|
7. 支持在线/本地拉取 Wine 容器配置方案并部署(初步应用商店)
|
||||||
@@ -61,6 +61,17 @@ env WINEPREFIX=容器路径 wine(wine的路径) 可执行文件路径
|
|||||||
14. 支持下载适配常用字体
|
14. 支持下载适配常用字体
|
||||||
15. 支持终止指定容器运行的所有程序
|
15. 支持终止指定容器运行的所有程序
|
||||||
|
|
||||||
|
## 上架到的应用商店
|
||||||
|
> 可以从下列应用商店获取 Wine 运行器
|
||||||
|
### Deepin/UOS 应用商店
|
||||||
|

|
||||||
|
|
||||||
|
### 星火应用商店
|
||||||
|

|
||||||
|
|
||||||
|
### 龙芯应用合作社
|
||||||
|
(找时间再补图)
|
||||||
|
|
||||||
## 分支介绍
|
## 分支介绍
|
||||||
### main 分支
|
### main 分支
|
||||||
主分支,稳定分支
|
主分支,稳定分支
|
||||||
@@ -563,7 +574,8 @@ Gitlink:https://www.gitlink.org.cn/gfdgd_xi/deep-wine-runner
|
|||||||
|
|
||||||
## 附:用于编译 Wine 的 Docker 容器(Debian10)
|
## 附:用于编译 Wine 的 Docker 容器(Debian10)
|
||||||
内安装了编译 Wine 所需要的依赖,Wine 编译教程:https://wiki.winehq.org/Building_Wine
|
内安装了编译 Wine 所需要的依赖,Wine 编译教程:https://wiki.winehq.org/Building_Wine
|
||||||
当然也可以到 http://wine.wine-runner.racoongx.cn/ 或 Wine 运行器内下载已经编译好的 Wine
|
当然也可以到 http://wine.wine-runner.gfdgdxi.top/ 或 Wine 运行器内下载已经编译好的 Wine
|
||||||
|
(屏蔽微信在Wine中运行时产生的水印/黑块?可以参考:https://12101111.github.io/block-wine-wechat-black-window/ 和 https://blog.csdn.net/ericden/article/details/122118443 )
|
||||||
### 拉取
|
### 拉取
|
||||||
***(需要先安装 Docker 后再输入以下命令)***
|
***(需要先安装 Docker 后再输入以下命令)***
|
||||||
```bash
|
```bash
|
||||||
@@ -617,4 +629,4 @@ make install -j4
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
# ©2020-Now gfdgd xi、为什么您不喜欢熊出没和阿布呢
|
# ©2020-Now gfdgd xi
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
import sys
|
||||||
|
from Model import *
|
||||||
|
if len(sys.argv) < 2:
|
||||||
|
print("请加入需要的命令")
|
||||||
|
sys.exit(1)
|
||||||
|
o = ""
|
||||||
|
for i in sys.argv[1:]:
|
||||||
|
o += f"'{i}' "
|
||||||
|
OpenTerminal(o)
|
||||||
+25
-2
@@ -8,13 +8,36 @@
|
|||||||
# 基于 Python3 的 tkinter 构建
|
# 基于 Python3 的 tkinter 构建
|
||||||
###########################################################################################
|
###########################################################################################
|
||||||
VBoxManage showvminfo Windows
|
VBoxManage showvminfo Windows
|
||||||
if test 0 == $?; then
|
if [[ 0 == $? ]]; then
|
||||||
# 检测到虚拟机存在,启动虚拟机
|
# 检测到虚拟机存在,启动虚拟机
|
||||||
VBoxManage startvm Windows
|
VBoxManage startvm Windows
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
# 检查是否有 QEMU
|
||||||
|
if [[ -f "$HOME/Qemu/Windows/Windows.qcow2" ]]; then
|
||||||
|
if [[ -f "$HOME/.config/deepin-wine-runner/QemuSetting.json" ]]; then
|
||||||
|
echo 有设置文件,读设置文件
|
||||||
|
cd `dirname $0`
|
||||||
|
python3 ./VM/StartQemu.py
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
# 查看逻辑CPU的个数
|
||||||
|
CpuCount=`cat /proc/cpuinfo| grep "processor"| wc -l`
|
||||||
|
|
||||||
|
# 总内存大小GB
|
||||||
|
MemTotal=`awk '($1 == "MemTotal:"){printf "%.2f\n",$2/1024/1024}' /proc/meminfo`
|
||||||
|
use=$(echo "scale=4; $MemTotal / 3" | bc)
|
||||||
|
if [[ `arch` == "x86_64" ]]; then
|
||||||
|
echo X86 架构,使用 kvm 加速
|
||||||
|
kvm --hda "$HOME/Qemu/Windows/Windows.qcow2" -soundhw all -smp $CpuCount -m ${use}G -net user,hostfwd=tcp::3389-:3389 -display vnc=:5 -display gtk -usb
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
echo 非 X86 架构,不使用 kvm 加速
|
||||||
|
qemu-system-x86_64 --hda "$HOME/Qemu/Windows/Windows.qcow2" -soundhw all -smp $CpuCount -m ${use}G -net user,hostfwd=tcp::3389-:3389 -display vnc=:5 -display gtk -usb
|
||||||
|
exit
|
||||||
|
fi
|
||||||
zenity --question --no-wrap --text="检查到您未创建所指定的虚拟机,是否创建虚拟机并继续?\n如果不创建将无法使用"
|
zenity --question --no-wrap --text="检查到您未创建所指定的虚拟机,是否创建虚拟机并继续?\n如果不创建将无法使用"
|
||||||
if test 1 == $?; then
|
if [[ 1 == $? ]]; then
|
||||||
# 用户不想创建虚拟机,结束
|
# 用户不想创建虚拟机,结束
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
# 更新构建时间
|
||||||
|
import os
|
||||||
|
import json
|
||||||
|
import platform
|
||||||
|
import datetime
|
||||||
|
programPath = os.path.split(os.path.realpath(__file__))[0] # 返回 string
|
||||||
|
with open(f"{programPath}/deb/opt/apps/deepin-wine-runner/information.json", "r") as file:
|
||||||
|
info = json.loads(file.read())
|
||||||
|
info["Time"] = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S") + " " + platform.platform()
|
||||||
|
with open(f"{programPath}/deb/opt/apps/deepin-wine-runner/information.json", "w") as file:
|
||||||
|
file.write(json.dumps(info, ensure_ascii=False, indent=4))
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
QMAKE_CXX.QT_COMPILER_STDCXX = 201402L
|
|
||||||
QMAKE_CXX.QMAKE_GCC_MAJOR_VERSION = 8
|
|
||||||
QMAKE_CXX.QMAKE_GCC_MINOR_VERSION = 3
|
|
||||||
QMAKE_CXX.QMAKE_GCC_PATCH_VERSION = 0
|
|
||||||
QMAKE_CXX.COMPILER_MACROS = \
|
|
||||||
QT_COMPILER_STDCXX \
|
|
||||||
QMAKE_GCC_MAJOR_VERSION \
|
|
||||||
QMAKE_GCC_MINOR_VERSION \
|
|
||||||
QMAKE_GCC_PATCH_VERSION
|
|
||||||
QMAKE_CXX.INCDIRS = \
|
|
||||||
/usr/include/c++/8 \
|
|
||||||
/usr/include/x86_64-linux-gnu/c++/8 \
|
|
||||||
/usr/include/c++/8/backward \
|
|
||||||
/usr/lib/gcc/x86_64-linux-gnu/8/include \
|
|
||||||
/usr/local/include \
|
|
||||||
/usr/lib/gcc/x86_64-linux-gnu/8/include-fixed \
|
|
||||||
/usr/include/x86_64-linux-gnu \
|
|
||||||
/usr/include
|
|
||||||
QMAKE_CXX.LIBDIRS = \
|
|
||||||
/usr/lib/gcc/x86_64-linux-gnu/8 \
|
|
||||||
/usr/lib/x86_64-linux-gnu \
|
|
||||||
/usr/lib \
|
|
||||||
/lib/x86_64-linux-gnu \
|
|
||||||
/lib
|
|
||||||
Binary file not shown.
@@ -0,0 +1,88 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<unattend xmlns="urn:schemas-microsoft-com:unattend">
|
||||||
|
<settings pass="windowsPE">
|
||||||
|
<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||||
|
<SetupUILanguage>
|
||||||
|
<UILanguage>zh-CN</UILanguage>
|
||||||
|
</SetupUILanguage>
|
||||||
|
<InputLocale>zh-CN</InputLocale>
|
||||||
|
<SystemLocale>zh-CN</SystemLocale>
|
||||||
|
<UILanguage>zh-CN</UILanguage>
|
||||||
|
<UserLocale>zh-CN</UserLocale>
|
||||||
|
</component>
|
||||||
|
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||||
|
<UserData>
|
||||||
|
<ProductKey>
|
||||||
|
<Key />
|
||||||
|
</ProductKey>
|
||||||
|
<AcceptEula>true</AcceptEula>
|
||||||
|
</UserData>
|
||||||
|
<ImageInstall>
|
||||||
|
<OSImage>
|
||||||
|
<InstallFrom>
|
||||||
|
<MetaData wcm:action="add">
|
||||||
|
<Key>/image/index</Key>
|
||||||
|
<Value>4</Value>
|
||||||
|
</MetaData>
|
||||||
|
</InstallFrom>
|
||||||
|
<InstallTo>
|
||||||
|
<DiskID>0</DiskID>
|
||||||
|
<PartitionID>1</PartitionID>
|
||||||
|
</InstallTo>
|
||||||
|
</OSImage>
|
||||||
|
</ImageInstall>
|
||||||
|
<DiskConfiguration>
|
||||||
|
<Disk wcm:action="add">
|
||||||
|
<CreatePartitions>
|
||||||
|
<CreatePartition wcm:action="add">
|
||||||
|
<Order>1</Order>
|
||||||
|
<Size>130000</Size>
|
||||||
|
<Type>Primary</Type>
|
||||||
|
</CreatePartition>
|
||||||
|
</CreatePartitions>
|
||||||
|
<DiskID>0</DiskID>
|
||||||
|
<WillWipeDisk>true</WillWipeDisk>
|
||||||
|
<ModifyPartitions>
|
||||||
|
<ModifyPartition wcm:action="add">
|
||||||
|
<Active>true</Active>
|
||||||
|
<Extend>false</Extend>
|
||||||
|
<Format>NTFS</Format>
|
||||||
|
<Label>OS</Label>
|
||||||
|
<Letter>C</Letter>
|
||||||
|
<Order>1</Order>
|
||||||
|
<PartitionID>1</PartitionID>
|
||||||
|
</ModifyPartition>
|
||||||
|
</ModifyPartitions>
|
||||||
|
</Disk>
|
||||||
|
</DiskConfiguration>
|
||||||
|
</component>
|
||||||
|
</settings>
|
||||||
|
<settings pass="oobeSystem">
|
||||||
|
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||||
|
<UserAccounts>
|
||||||
|
<LocalAccounts>
|
||||||
|
<LocalAccount wcm:action="add">
|
||||||
|
<Password>
|
||||||
|
<Value>UABhAHMAcwB3AG8AcgBkAA==</Value>
|
||||||
|
<PlainText>false</PlainText>
|
||||||
|
</Password>
|
||||||
|
<DisplayName>Windows</DisplayName>
|
||||||
|
<Group>Administrators</Group>
|
||||||
|
<Name>Windows</Name>
|
||||||
|
</LocalAccount>
|
||||||
|
</LocalAccounts>
|
||||||
|
</UserAccounts>
|
||||||
|
<OOBE>
|
||||||
|
<NetworkLocation>Work</NetworkLocation>
|
||||||
|
<ProtectYourPC>3</ProtectYourPC>
|
||||||
|
</OOBE>
|
||||||
|
<TimeZone>China Standard Time</TimeZone>
|
||||||
|
</component>
|
||||||
|
</settings>
|
||||||
|
<settings pass="specialize">
|
||||||
|
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||||
|
<ComputerName>*</ComputerName>
|
||||||
|
</component>
|
||||||
|
</settings>
|
||||||
|
<cpi:offlineImage cpi:source="wim:d:/sources/install.wim#Windows 7 ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
|
||||||
|
</unattend>
|
||||||
@@ -0,0 +1,85 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<unattend xmlns="urn:schemas-microsoft-com:unattend">
|
||||||
|
<settings pass="windowsPE">
|
||||||
|
<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||||
|
<SetupUILanguage>
|
||||||
|
<UILanguage>zh-CN</UILanguage>
|
||||||
|
</SetupUILanguage>
|
||||||
|
<InputLocale>zh-CN</InputLocale>
|
||||||
|
<SystemLocale>zh-CN</SystemLocale>
|
||||||
|
<UILanguage>zh-CN</UILanguage>
|
||||||
|
<UserLocale>zh-CN</UserLocale>
|
||||||
|
</component>
|
||||||
|
<component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||||
|
<UserData>
|
||||||
|
<AcceptEula>true</AcceptEula>
|
||||||
|
</UserData>
|
||||||
|
<ImageInstall>
|
||||||
|
<OSImage>
|
||||||
|
<InstallFrom>
|
||||||
|
<MetaData wcm:action="add">
|
||||||
|
<Value>5</Value>
|
||||||
|
<Key>/image/index</Key>
|
||||||
|
</MetaData>
|
||||||
|
</InstallFrom>
|
||||||
|
<InstallTo>
|
||||||
|
<DiskID>0</DiskID>
|
||||||
|
<PartitionID>1</PartitionID>
|
||||||
|
</InstallTo>
|
||||||
|
</OSImage>
|
||||||
|
</ImageInstall>
|
||||||
|
<DiskConfiguration>
|
||||||
|
<Disk wcm:action="add">
|
||||||
|
<CreatePartitions>
|
||||||
|
<CreatePartition wcm:action="add">
|
||||||
|
<Type>Primary</Type>
|
||||||
|
<Order>1</Order>
|
||||||
|
<Size>130000</Size>
|
||||||
|
</CreatePartition>
|
||||||
|
</CreatePartitions>
|
||||||
|
<WillWipeDisk>true</WillWipeDisk>
|
||||||
|
<DiskID>0</DiskID>
|
||||||
|
<ModifyPartitions>
|
||||||
|
<ModifyPartition wcm:action="add">
|
||||||
|
<Active>true</Active>
|
||||||
|
<Extend>false</Extend>
|
||||||
|
<Format>NTFS</Format>
|
||||||
|
<Label>OS</Label>
|
||||||
|
<Letter>C</Letter>
|
||||||
|
<Order>1</Order>
|
||||||
|
<PartitionID>1</PartitionID>
|
||||||
|
</ModifyPartition>
|
||||||
|
</ModifyPartitions>
|
||||||
|
</Disk>
|
||||||
|
</DiskConfiguration>
|
||||||
|
</component>
|
||||||
|
</settings>
|
||||||
|
<settings pass="oobeSystem">
|
||||||
|
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||||
|
<UserAccounts>
|
||||||
|
<LocalAccounts>
|
||||||
|
<LocalAccount wcm:action="add">
|
||||||
|
<Password>
|
||||||
|
<Value>UABhAHMAcwB3AG8AcgBkAA==</Value>
|
||||||
|
<PlainText>false</PlainText>
|
||||||
|
</Password>
|
||||||
|
<DisplayName>Windows</DisplayName>
|
||||||
|
<Group>Administrators</Group>
|
||||||
|
<Name>Windows</Name>
|
||||||
|
</LocalAccount>
|
||||||
|
</LocalAccounts>
|
||||||
|
</UserAccounts>
|
||||||
|
<OOBE>
|
||||||
|
<NetworkLocation>Work</NetworkLocation>
|
||||||
|
<ProtectYourPC>3</ProtectYourPC>
|
||||||
|
</OOBE>
|
||||||
|
<TimeZone>China Standard Time</TimeZone>
|
||||||
|
</component>
|
||||||
|
</settings>
|
||||||
|
<settings pass="specialize">
|
||||||
|
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||||
|
<ComputerName>*</ComputerName>
|
||||||
|
</component>
|
||||||
|
</settings>
|
||||||
|
<cpi:offlineImage cpi:source="wim:l:/install.wim#Windows 7 ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
|
||||||
|
</unattend>
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
windows-virtual-machine-installer-for-wine-runner.gfdgdxi.top
|
||||||
Executable
+674
@@ -0,0 +1,674 @@
|
|||||||
|
GNU GENERAL PUBLIC LICENSE
|
||||||
|
Version 3, 29 June 2007
|
||||||
|
|
||||||
|
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
|
Preamble
|
||||||
|
|
||||||
|
The GNU General Public License is a free, copyleft license for
|
||||||
|
software and other kinds of works.
|
||||||
|
|
||||||
|
The licenses for most software and other practical works are designed
|
||||||
|
to take away your freedom to share and change the works. By contrast,
|
||||||
|
the GNU General Public License is intended to guarantee your freedom to
|
||||||
|
share and change all versions of a program--to make sure it remains free
|
||||||
|
software for all its users. We, the Free Software Foundation, use the
|
||||||
|
GNU General Public License for most of our software; it applies also to
|
||||||
|
any other work released this way by its authors. You can apply it to
|
||||||
|
your programs, too.
|
||||||
|
|
||||||
|
When we speak of free software, we are referring to freedom, not
|
||||||
|
price. Our General Public Licenses are designed to make sure that you
|
||||||
|
have the freedom to distribute copies of free software (and charge for
|
||||||
|
them if you wish), that you receive source code or can get it if you
|
||||||
|
want it, that you can change the software or use pieces of it in new
|
||||||
|
free programs, and that you know you can do these things.
|
||||||
|
|
||||||
|
To protect your rights, we need to prevent others from denying you
|
||||||
|
these rights or asking you to surrender the rights. Therefore, you have
|
||||||
|
certain responsibilities if you distribute copies of the software, or if
|
||||||
|
you modify it: responsibilities to respect the freedom of others.
|
||||||
|
|
||||||
|
For example, if you distribute copies of such a program, whether
|
||||||
|
gratis or for a fee, you must pass on to the recipients the same
|
||||||
|
freedoms that you received. You must make sure that they, too, receive
|
||||||
|
or can get the source code. And you must show them these terms so they
|
||||||
|
know their rights.
|
||||||
|
|
||||||
|
Developers that use the GNU GPL protect your rights with two steps:
|
||||||
|
(1) assert copyright on the software, and (2) offer you this License
|
||||||
|
giving you legal permission to copy, distribute and/or modify it.
|
||||||
|
|
||||||
|
For the developers' and authors' protection, the GPL clearly explains
|
||||||
|
that there is no warranty for this free software. For both users' and
|
||||||
|
authors' sake, the GPL requires that modified versions be marked as
|
||||||
|
changed, so that their problems will not be attributed erroneously to
|
||||||
|
authors of previous versions.
|
||||||
|
|
||||||
|
Some devices are designed to deny users access to install or run
|
||||||
|
modified versions of the software inside them, although the manufacturer
|
||||||
|
can do so. This is fundamentally incompatible with the aim of
|
||||||
|
protecting users' freedom to change the software. The systematic
|
||||||
|
pattern of such abuse occurs in the area of products for individuals to
|
||||||
|
use, which is precisely where it is most unacceptable. Therefore, we
|
||||||
|
have designed this version of the GPL to prohibit the practice for those
|
||||||
|
products. If such problems arise substantially in other domains, we
|
||||||
|
stand ready to extend this provision to those domains in future versions
|
||||||
|
of the GPL, as needed to protect the freedom of users.
|
||||||
|
|
||||||
|
Finally, every program is threatened constantly by software patents.
|
||||||
|
States should not allow patents to restrict development and use of
|
||||||
|
software on general-purpose computers, but in those that do, we wish to
|
||||||
|
avoid the special danger that patents applied to a free program could
|
||||||
|
make it effectively proprietary. To prevent this, the GPL assures that
|
||||||
|
patents cannot be used to render the program non-free.
|
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and
|
||||||
|
modification follow.
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
0. Definitions.
|
||||||
|
|
||||||
|
"This License" refers to version 3 of the GNU General Public License.
|
||||||
|
|
||||||
|
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||||
|
works, such as semiconductor masks.
|
||||||
|
|
||||||
|
"The Program" refers to any copyrightable work licensed under this
|
||||||
|
License. Each licensee is addressed as "you". "Licensees" and
|
||||||
|
"recipients" may be individuals or organizations.
|
||||||
|
|
||||||
|
To "modify" a work means to copy from or adapt all or part of the work
|
||||||
|
in a fashion requiring copyright permission, other than the making of an
|
||||||
|
exact copy. The resulting work is called a "modified version" of the
|
||||||
|
earlier work or a work "based on" the earlier work.
|
||||||
|
|
||||||
|
A "covered work" means either the unmodified Program or a work based
|
||||||
|
on the Program.
|
||||||
|
|
||||||
|
To "propagate" a work means to do anything with it that, without
|
||||||
|
permission, would make you directly or secondarily liable for
|
||||||
|
infringement under applicable copyright law, except executing it on a
|
||||||
|
computer or modifying a private copy. Propagation includes copying,
|
||||||
|
distribution (with or without modification), making available to the
|
||||||
|
public, and in some countries other activities as well.
|
||||||
|
|
||||||
|
To "convey" a work means any kind of propagation that enables other
|
||||||
|
parties to make or receive copies. Mere interaction with a user through
|
||||||
|
a computer network, with no transfer of a copy, is not conveying.
|
||||||
|
|
||||||
|
An interactive user interface displays "Appropriate Legal Notices"
|
||||||
|
to the extent that it includes a convenient and prominently visible
|
||||||
|
feature that (1) displays an appropriate copyright notice, and (2)
|
||||||
|
tells the user that there is no warranty for the work (except to the
|
||||||
|
extent that warranties are provided), that licensees may convey the
|
||||||
|
work under this License, and how to view a copy of this License. If
|
||||||
|
the interface presents a list of user commands or options, such as a
|
||||||
|
menu, a prominent item in the list meets this criterion.
|
||||||
|
|
||||||
|
1. Source Code.
|
||||||
|
|
||||||
|
The "source code" for a work means the preferred form of the work
|
||||||
|
for making modifications to it. "Object code" means any non-source
|
||||||
|
form of a work.
|
||||||
|
|
||||||
|
A "Standard Interface" means an interface that either is an official
|
||||||
|
standard defined by a recognized standards body, or, in the case of
|
||||||
|
interfaces specified for a particular programming language, one that
|
||||||
|
is widely used among developers working in that language.
|
||||||
|
|
||||||
|
The "System Libraries" of an executable work include anything, other
|
||||||
|
than the work as a whole, that (a) is included in the normal form of
|
||||||
|
packaging a Major Component, but which is not part of that Major
|
||||||
|
Component, and (b) serves only to enable use of the work with that
|
||||||
|
Major Component, or to implement a Standard Interface for which an
|
||||||
|
implementation is available to the public in source code form. A
|
||||||
|
"Major Component", in this context, means a major essential component
|
||||||
|
(kernel, window system, and so on) of the specific operating system
|
||||||
|
(if any) on which the executable work runs, or a compiler used to
|
||||||
|
produce the work, or an object code interpreter used to run it.
|
||||||
|
|
||||||
|
The "Corresponding Source" for a work in object code form means all
|
||||||
|
the source code needed to generate, install, and (for an executable
|
||||||
|
work) run the object code and to modify the work, including scripts to
|
||||||
|
control those activities. However, it does not include the work's
|
||||||
|
System Libraries, or general-purpose tools or generally available free
|
||||||
|
programs which are used unmodified in performing those activities but
|
||||||
|
which are not part of the work. For example, Corresponding Source
|
||||||
|
includes interface definition files associated with source files for
|
||||||
|
the work, and the source code for shared libraries and dynamically
|
||||||
|
linked subprograms that the work is specifically designed to require,
|
||||||
|
such as by intimate data communication or control flow between those
|
||||||
|
subprograms and other parts of the work.
|
||||||
|
|
||||||
|
The Corresponding Source need not include anything that users
|
||||||
|
can regenerate automatically from other parts of the Corresponding
|
||||||
|
Source.
|
||||||
|
|
||||||
|
The Corresponding Source for a work in source code form is that
|
||||||
|
same work.
|
||||||
|
|
||||||
|
2. Basic Permissions.
|
||||||
|
|
||||||
|
All rights granted under this License are granted for the term of
|
||||||
|
copyright on the Program, and are irrevocable provided the stated
|
||||||
|
conditions are met. This License explicitly affirms your unlimited
|
||||||
|
permission to run the unmodified Program. The output from running a
|
||||||
|
covered work is covered by this License only if the output, given its
|
||||||
|
content, constitutes a covered work. This License acknowledges your
|
||||||
|
rights of fair use or other equivalent, as provided by copyright law.
|
||||||
|
|
||||||
|
You may make, run and propagate covered works that you do not
|
||||||
|
convey, without conditions so long as your license otherwise remains
|
||||||
|
in force. You may convey covered works to others for the sole purpose
|
||||||
|
of having them make modifications exclusively for you, or provide you
|
||||||
|
with facilities for running those works, provided that you comply with
|
||||||
|
the terms of this License in conveying all material for which you do
|
||||||
|
not control copyright. Those thus making or running the covered works
|
||||||
|
for you must do so exclusively on your behalf, under your direction
|
||||||
|
and control, on terms that prohibit them from making any copies of
|
||||||
|
your copyrighted material outside their relationship with you.
|
||||||
|
|
||||||
|
Conveying under any other circumstances is permitted solely under
|
||||||
|
the conditions stated below. Sublicensing is not allowed; section 10
|
||||||
|
makes it unnecessary.
|
||||||
|
|
||||||
|
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||||
|
|
||||||
|
No covered work shall be deemed part of an effective technological
|
||||||
|
measure under any applicable law fulfilling obligations under article
|
||||||
|
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||||
|
similar laws prohibiting or restricting circumvention of such
|
||||||
|
measures.
|
||||||
|
|
||||||
|
When you convey a covered work, you waive any legal power to forbid
|
||||||
|
circumvention of technological measures to the extent such circumvention
|
||||||
|
is effected by exercising rights under this License with respect to
|
||||||
|
the covered work, and you disclaim any intention to limit operation or
|
||||||
|
modification of the work as a means of enforcing, against the work's
|
||||||
|
users, your or third parties' legal rights to forbid circumvention of
|
||||||
|
technological measures.
|
||||||
|
|
||||||
|
4. Conveying Verbatim Copies.
|
||||||
|
|
||||||
|
You may convey verbatim copies of the Program's source code as you
|
||||||
|
receive it, in any medium, provided that you conspicuously and
|
||||||
|
appropriately publish on each copy an appropriate copyright notice;
|
||||||
|
keep intact all notices stating that this License and any
|
||||||
|
non-permissive terms added in accord with section 7 apply to the code;
|
||||||
|
keep intact all notices of the absence of any warranty; and give all
|
||||||
|
recipients a copy of this License along with the Program.
|
||||||
|
|
||||||
|
You may charge any price or no price for each copy that you convey,
|
||||||
|
and you may offer support or warranty protection for a fee.
|
||||||
|
|
||||||
|
5. Conveying Modified Source Versions.
|
||||||
|
|
||||||
|
You may convey a work based on the Program, or the modifications to
|
||||||
|
produce it from the Program, in the form of source code under the
|
||||||
|
terms of section 4, provided that you also meet all of these conditions:
|
||||||
|
|
||||||
|
a) The work must carry prominent notices stating that you modified
|
||||||
|
it, and giving a relevant date.
|
||||||
|
|
||||||
|
b) The work must carry prominent notices stating that it is
|
||||||
|
released under this License and any conditions added under section
|
||||||
|
7. This requirement modifies the requirement in section 4 to
|
||||||
|
"keep intact all notices".
|
||||||
|
|
||||||
|
c) You must license the entire work, as a whole, under this
|
||||||
|
License to anyone who comes into possession of a copy. This
|
||||||
|
License will therefore apply, along with any applicable section 7
|
||||||
|
additional terms, to the whole of the work, and all its parts,
|
||||||
|
regardless of how they are packaged. This License gives no
|
||||||
|
permission to license the work in any other way, but it does not
|
||||||
|
invalidate such permission if you have separately received it.
|
||||||
|
|
||||||
|
d) If the work has interactive user interfaces, each must display
|
||||||
|
Appropriate Legal Notices; however, if the Program has interactive
|
||||||
|
interfaces that do not display Appropriate Legal Notices, your
|
||||||
|
work need not make them do so.
|
||||||
|
|
||||||
|
A compilation of a covered work with other separate and independent
|
||||||
|
works, which are not by their nature extensions of the covered work,
|
||||||
|
and which are not combined with it such as to form a larger program,
|
||||||
|
in or on a volume of a storage or distribution medium, is called an
|
||||||
|
"aggregate" if the compilation and its resulting copyright are not
|
||||||
|
used to limit the access or legal rights of the compilation's users
|
||||||
|
beyond what the individual works permit. Inclusion of a covered work
|
||||||
|
in an aggregate does not cause this License to apply to the other
|
||||||
|
parts of the aggregate.
|
||||||
|
|
||||||
|
6. Conveying Non-Source Forms.
|
||||||
|
|
||||||
|
You may convey a covered work in object code form under the terms
|
||||||
|
of sections 4 and 5, provided that you also convey the
|
||||||
|
machine-readable Corresponding Source under the terms of this License,
|
||||||
|
in one of these ways:
|
||||||
|
|
||||||
|
a) Convey the object code in, or embodied in, a physical product
|
||||||
|
(including a physical distribution medium), accompanied by the
|
||||||
|
Corresponding Source fixed on a durable physical medium
|
||||||
|
customarily used for software interchange.
|
||||||
|
|
||||||
|
b) Convey the object code in, or embodied in, a physical product
|
||||||
|
(including a physical distribution medium), accompanied by a
|
||||||
|
written offer, valid for at least three years and valid for as
|
||||||
|
long as you offer spare parts or customer support for that product
|
||||||
|
model, to give anyone who possesses the object code either (1) a
|
||||||
|
copy of the Corresponding Source for all the software in the
|
||||||
|
product that is covered by this License, on a durable physical
|
||||||
|
medium customarily used for software interchange, for a price no
|
||||||
|
more than your reasonable cost of physically performing this
|
||||||
|
conveying of source, or (2) access to copy the
|
||||||
|
Corresponding Source from a network server at no charge.
|
||||||
|
|
||||||
|
c) Convey individual copies of the object code with a copy of the
|
||||||
|
written offer to provide the Corresponding Source. This
|
||||||
|
alternative is allowed only occasionally and noncommercially, and
|
||||||
|
only if you received the object code with such an offer, in accord
|
||||||
|
with subsection 6b.
|
||||||
|
|
||||||
|
d) Convey the object code by offering access from a designated
|
||||||
|
place (gratis or for a charge), and offer equivalent access to the
|
||||||
|
Corresponding Source in the same way through the same place at no
|
||||||
|
further charge. You need not require recipients to copy the
|
||||||
|
Corresponding Source along with the object code. If the place to
|
||||||
|
copy the object code is a network server, the Corresponding Source
|
||||||
|
may be on a different server (operated by you or a third party)
|
||||||
|
that supports equivalent copying facilities, provided you maintain
|
||||||
|
clear directions next to the object code saying where to find the
|
||||||
|
Corresponding Source. Regardless of what server hosts the
|
||||||
|
Corresponding Source, you remain obligated to ensure that it is
|
||||||
|
available for as long as needed to satisfy these requirements.
|
||||||
|
|
||||||
|
e) Convey the object code using peer-to-peer transmission, provided
|
||||||
|
you inform other peers where the object code and Corresponding
|
||||||
|
Source of the work are being offered to the general public at no
|
||||||
|
charge under subsection 6d.
|
||||||
|
|
||||||
|
A separable portion of the object code, whose source code is excluded
|
||||||
|
from the Corresponding Source as a System Library, need not be
|
||||||
|
included in conveying the object code work.
|
||||||
|
|
||||||
|
A "User Product" is either (1) a "consumer product", which means any
|
||||||
|
tangible personal property which is normally used for personal, family,
|
||||||
|
or household purposes, or (2) anything designed or sold for incorporation
|
||||||
|
into a dwelling. In determining whether a product is a consumer product,
|
||||||
|
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||||
|
product received by a particular user, "normally used" refers to a
|
||||||
|
typical or common use of that class of product, regardless of the status
|
||||||
|
of the particular user or of the way in which the particular user
|
||||||
|
actually uses, or expects or is expected to use, the product. A product
|
||||||
|
is a consumer product regardless of whether the product has substantial
|
||||||
|
commercial, industrial or non-consumer uses, unless such uses represent
|
||||||
|
the only significant mode of use of the product.
|
||||||
|
|
||||||
|
"Installation Information" for a User Product means any methods,
|
||||||
|
procedures, authorization keys, or other information required to install
|
||||||
|
and execute modified versions of a covered work in that User Product from
|
||||||
|
a modified version of its Corresponding Source. The information must
|
||||||
|
suffice to ensure that the continued functioning of the modified object
|
||||||
|
code is in no case prevented or interfered with solely because
|
||||||
|
modification has been made.
|
||||||
|
|
||||||
|
If you convey an object code work under this section in, or with, or
|
||||||
|
specifically for use in, a User Product, and the conveying occurs as
|
||||||
|
part of a transaction in which the right of possession and use of the
|
||||||
|
User Product is transferred to the recipient in perpetuity or for a
|
||||||
|
fixed term (regardless of how the transaction is characterized), the
|
||||||
|
Corresponding Source conveyed under this section must be accompanied
|
||||||
|
by the Installation Information. But this requirement does not apply
|
||||||
|
if neither you nor any third party retains the ability to install
|
||||||
|
modified object code on the User Product (for example, the work has
|
||||||
|
been installed in ROM).
|
||||||
|
|
||||||
|
The requirement to provide Installation Information does not include a
|
||||||
|
requirement to continue to provide support service, warranty, or updates
|
||||||
|
for a work that has been modified or installed by the recipient, or for
|
||||||
|
the User Product in which it has been modified or installed. Access to a
|
||||||
|
network may be denied when the modification itself materially and
|
||||||
|
adversely affects the operation of the network or violates the rules and
|
||||||
|
protocols for communication across the network.
|
||||||
|
|
||||||
|
Corresponding Source conveyed, and Installation Information provided,
|
||||||
|
in accord with this section must be in a format that is publicly
|
||||||
|
documented (and with an implementation available to the public in
|
||||||
|
source code form), and must require no special password or key for
|
||||||
|
unpacking, reading or copying.
|
||||||
|
|
||||||
|
7. Additional Terms.
|
||||||
|
|
||||||
|
"Additional permissions" are terms that supplement the terms of this
|
||||||
|
License by making exceptions from one or more of its conditions.
|
||||||
|
Additional permissions that are applicable to the entire Program shall
|
||||||
|
be treated as though they were included in this License, to the extent
|
||||||
|
that they are valid under applicable law. If additional permissions
|
||||||
|
apply only to part of the Program, that part may be used separately
|
||||||
|
under those permissions, but the entire Program remains governed by
|
||||||
|
this License without regard to the additional permissions.
|
||||||
|
|
||||||
|
When you convey a copy of a covered work, you may at your option
|
||||||
|
remove any additional permissions from that copy, or from any part of
|
||||||
|
it. (Additional permissions may be written to require their own
|
||||||
|
removal in certain cases when you modify the work.) You may place
|
||||||
|
additional permissions on material, added by you to a covered work,
|
||||||
|
for which you have or can give appropriate copyright permission.
|
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, for material you
|
||||||
|
add to a covered work, you may (if authorized by the copyright holders of
|
||||||
|
that material) supplement the terms of this License with terms:
|
||||||
|
|
||||||
|
a) Disclaiming warranty or limiting liability differently from the
|
||||||
|
terms of sections 15 and 16 of this License; or
|
||||||
|
|
||||||
|
b) Requiring preservation of specified reasonable legal notices or
|
||||||
|
author attributions in that material or in the Appropriate Legal
|
||||||
|
Notices displayed by works containing it; or
|
||||||
|
|
||||||
|
c) Prohibiting misrepresentation of the origin of that material, or
|
||||||
|
requiring that modified versions of such material be marked in
|
||||||
|
reasonable ways as different from the original version; or
|
||||||
|
|
||||||
|
d) Limiting the use for publicity purposes of names of licensors or
|
||||||
|
authors of the material; or
|
||||||
|
|
||||||
|
e) Declining to grant rights under trademark law for use of some
|
||||||
|
trade names, trademarks, or service marks; or
|
||||||
|
|
||||||
|
f) Requiring indemnification of licensors and authors of that
|
||||||
|
material by anyone who conveys the material (or modified versions of
|
||||||
|
it) with contractual assumptions of liability to the recipient, for
|
||||||
|
any liability that these contractual assumptions directly impose on
|
||||||
|
those licensors and authors.
|
||||||
|
|
||||||
|
All other non-permissive additional terms are considered "further
|
||||||
|
restrictions" within the meaning of section 10. If the Program as you
|
||||||
|
received it, or any part of it, contains a notice stating that it is
|
||||||
|
governed by this License along with a term that is a further
|
||||||
|
restriction, you may remove that term. If a license document contains
|
||||||
|
a further restriction but permits relicensing or conveying under this
|
||||||
|
License, you may add to a covered work material governed by the terms
|
||||||
|
of that license document, provided that the further restriction does
|
||||||
|
not survive such relicensing or conveying.
|
||||||
|
|
||||||
|
If you add terms to a covered work in accord with this section, you
|
||||||
|
must place, in the relevant source files, a statement of the
|
||||||
|
additional terms that apply to those files, or a notice indicating
|
||||||
|
where to find the applicable terms.
|
||||||
|
|
||||||
|
Additional terms, permissive or non-permissive, may be stated in the
|
||||||
|
form of a separately written license, or stated as exceptions;
|
||||||
|
the above requirements apply either way.
|
||||||
|
|
||||||
|
8. Termination.
|
||||||
|
|
||||||
|
You may not propagate or modify a covered work except as expressly
|
||||||
|
provided under this License. Any attempt otherwise to propagate or
|
||||||
|
modify it is void, and will automatically terminate your rights under
|
||||||
|
this License (including any patent licenses granted under the third
|
||||||
|
paragraph of section 11).
|
||||||
|
|
||||||
|
However, if you cease all violation of this License, then your
|
||||||
|
license from a particular copyright holder is reinstated (a)
|
||||||
|
provisionally, unless and until the copyright holder explicitly and
|
||||||
|
finally terminates your license, and (b) permanently, if the copyright
|
||||||
|
holder fails to notify you of the violation by some reasonable means
|
||||||
|
prior to 60 days after the cessation.
|
||||||
|
|
||||||
|
Moreover, your license from a particular copyright holder is
|
||||||
|
reinstated permanently if the copyright holder notifies you of the
|
||||||
|
violation by some reasonable means, this is the first time you have
|
||||||
|
received notice of violation of this License (for any work) from that
|
||||||
|
copyright holder, and you cure the violation prior to 30 days after
|
||||||
|
your receipt of the notice.
|
||||||
|
|
||||||
|
Termination of your rights under this section does not terminate the
|
||||||
|
licenses of parties who have received copies or rights from you under
|
||||||
|
this License. If your rights have been terminated and not permanently
|
||||||
|
reinstated, you do not qualify to receive new licenses for the same
|
||||||
|
material under section 10.
|
||||||
|
|
||||||
|
9. Acceptance Not Required for Having Copies.
|
||||||
|
|
||||||
|
You are not required to accept this License in order to receive or
|
||||||
|
run a copy of the Program. Ancillary propagation of a covered work
|
||||||
|
occurring solely as a consequence of using peer-to-peer transmission
|
||||||
|
to receive a copy likewise does not require acceptance. However,
|
||||||
|
nothing other than this License grants you permission to propagate or
|
||||||
|
modify any covered work. These actions infringe copyright if you do
|
||||||
|
not accept this License. Therefore, by modifying or propagating a
|
||||||
|
covered work, you indicate your acceptance of this License to do so.
|
||||||
|
|
||||||
|
10. Automatic Licensing of Downstream Recipients.
|
||||||
|
|
||||||
|
Each time you convey a covered work, the recipient automatically
|
||||||
|
receives a license from the original licensors, to run, modify and
|
||||||
|
propagate that work, subject to this License. You are not responsible
|
||||||
|
for enforcing compliance by third parties with this License.
|
||||||
|
|
||||||
|
An "entity transaction" is a transaction transferring control of an
|
||||||
|
organization, or substantially all assets of one, or subdividing an
|
||||||
|
organization, or merging organizations. If propagation of a covered
|
||||||
|
work results from an entity transaction, each party to that
|
||||||
|
transaction who receives a copy of the work also receives whatever
|
||||||
|
licenses to the work the party's predecessor in interest had or could
|
||||||
|
give under the previous paragraph, plus a right to possession of the
|
||||||
|
Corresponding Source of the work from the predecessor in interest, if
|
||||||
|
the predecessor has it or can get it with reasonable efforts.
|
||||||
|
|
||||||
|
You may not impose any further restrictions on the exercise of the
|
||||||
|
rights granted or affirmed under this License. For example, you may
|
||||||
|
not impose a license fee, royalty, or other charge for exercise of
|
||||||
|
rights granted under this License, and you may not initiate litigation
|
||||||
|
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||||
|
any patent claim is infringed by making, using, selling, offering for
|
||||||
|
sale, or importing the Program or any portion of it.
|
||||||
|
|
||||||
|
11. Patents.
|
||||||
|
|
||||||
|
A "contributor" is a copyright holder who authorizes use under this
|
||||||
|
License of the Program or a work on which the Program is based. The
|
||||||
|
work thus licensed is called the contributor's "contributor version".
|
||||||
|
|
||||||
|
A contributor's "essential patent claims" are all patent claims
|
||||||
|
owned or controlled by the contributor, whether already acquired or
|
||||||
|
hereafter acquired, that would be infringed by some manner, permitted
|
||||||
|
by this License, of making, using, or selling its contributor version,
|
||||||
|
but do not include claims that would be infringed only as a
|
||||||
|
consequence of further modification of the contributor version. For
|
||||||
|
purposes of this definition, "control" includes the right to grant
|
||||||
|
patent sublicenses in a manner consistent with the requirements of
|
||||||
|
this License.
|
||||||
|
|
||||||
|
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||||
|
patent license under the contributor's essential patent claims, to
|
||||||
|
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||||
|
propagate the contents of its contributor version.
|
||||||
|
|
||||||
|
In the following three paragraphs, a "patent license" is any express
|
||||||
|
agreement or commitment, however denominated, not to enforce a patent
|
||||||
|
(such as an express permission to practice a patent or covenant not to
|
||||||
|
sue for patent infringement). To "grant" such a patent license to a
|
||||||
|
party means to make such an agreement or commitment not to enforce a
|
||||||
|
patent against the party.
|
||||||
|
|
||||||
|
If you convey a covered work, knowingly relying on a patent license,
|
||||||
|
and the Corresponding Source of the work is not available for anyone
|
||||||
|
to copy, free of charge and under the terms of this License, through a
|
||||||
|
publicly available network server or other readily accessible means,
|
||||||
|
then you must either (1) cause the Corresponding Source to be so
|
||||||
|
available, or (2) arrange to deprive yourself of the benefit of the
|
||||||
|
patent license for this particular work, or (3) arrange, in a manner
|
||||||
|
consistent with the requirements of this License, to extend the patent
|
||||||
|
license to downstream recipients. "Knowingly relying" means you have
|
||||||
|
actual knowledge that, but for the patent license, your conveying the
|
||||||
|
covered work in a country, or your recipient's use of the covered work
|
||||||
|
in a country, would infringe one or more identifiable patents in that
|
||||||
|
country that you have reason to believe are valid.
|
||||||
|
|
||||||
|
If, pursuant to or in connection with a single transaction or
|
||||||
|
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||||
|
covered work, and grant a patent license to some of the parties
|
||||||
|
receiving the covered work authorizing them to use, propagate, modify
|
||||||
|
or convey a specific copy of the covered work, then the patent license
|
||||||
|
you grant is automatically extended to all recipients of the covered
|
||||||
|
work and works based on it.
|
||||||
|
|
||||||
|
A patent license is "discriminatory" if it does not include within
|
||||||
|
the scope of its coverage, prohibits the exercise of, or is
|
||||||
|
conditioned on the non-exercise of one or more of the rights that are
|
||||||
|
specifically granted under this License. You may not convey a covered
|
||||||
|
work if you are a party to an arrangement with a third party that is
|
||||||
|
in the business of distributing software, under which you make payment
|
||||||
|
to the third party based on the extent of your activity of conveying
|
||||||
|
the work, and under which the third party grants, to any of the
|
||||||
|
parties who would receive the covered work from you, a discriminatory
|
||||||
|
patent license (a) in connection with copies of the covered work
|
||||||
|
conveyed by you (or copies made from those copies), or (b) primarily
|
||||||
|
for and in connection with specific products or compilations that
|
||||||
|
contain the covered work, unless you entered into that arrangement,
|
||||||
|
or that patent license was granted, prior to 28 March 2007.
|
||||||
|
|
||||||
|
Nothing in this License shall be construed as excluding or limiting
|
||||||
|
any implied license or other defenses to infringement that may
|
||||||
|
otherwise be available to you under applicable patent law.
|
||||||
|
|
||||||
|
12. No Surrender of Others' Freedom.
|
||||||
|
|
||||||
|
If conditions are imposed on you (whether by court order, agreement or
|
||||||
|
otherwise) that contradict the conditions of this License, they do not
|
||||||
|
excuse you from the conditions of this License. If you cannot convey a
|
||||||
|
covered work so as to satisfy simultaneously your obligations under this
|
||||||
|
License and any other pertinent obligations, then as a consequence you may
|
||||||
|
not convey it at all. For example, if you agree to terms that obligate you
|
||||||
|
to collect a royalty for further conveying from those to whom you convey
|
||||||
|
the Program, the only way you could satisfy both those terms and this
|
||||||
|
License would be to refrain entirely from conveying the Program.
|
||||||
|
|
||||||
|
13. Use with the GNU Affero General Public License.
|
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, you have
|
||||||
|
permission to link or combine any covered work with a work licensed
|
||||||
|
under version 3 of the GNU Affero General Public License into a single
|
||||||
|
combined work, and to convey the resulting work. The terms of this
|
||||||
|
License will continue to apply to the part which is the covered work,
|
||||||
|
but the special requirements of the GNU Affero General Public License,
|
||||||
|
section 13, concerning interaction through a network will apply to the
|
||||||
|
combination as such.
|
||||||
|
|
||||||
|
14. Revised Versions of this License.
|
||||||
|
|
||||||
|
The Free Software Foundation may publish revised and/or new versions of
|
||||||
|
the GNU General Public License from time to time. Such new versions will
|
||||||
|
be similar in spirit to the present version, but may differ in detail to
|
||||||
|
address new problems or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the
|
||||||
|
Program specifies that a certain numbered version of the GNU General
|
||||||
|
Public License "or any later version" applies to it, you have the
|
||||||
|
option of following the terms and conditions either of that numbered
|
||||||
|
version or of any later version published by the Free Software
|
||||||
|
Foundation. If the Program does not specify a version number of the
|
||||||
|
GNU General Public License, you may choose any version ever published
|
||||||
|
by the Free Software Foundation.
|
||||||
|
|
||||||
|
If the Program specifies that a proxy can decide which future
|
||||||
|
versions of the GNU General Public License can be used, that proxy's
|
||||||
|
public statement of acceptance of a version permanently authorizes you
|
||||||
|
to choose that version for the Program.
|
||||||
|
|
||||||
|
Later license versions may give you additional or different
|
||||||
|
permissions. However, no additional obligations are imposed on any
|
||||||
|
author or copyright holder as a result of your choosing to follow a
|
||||||
|
later version.
|
||||||
|
|
||||||
|
15. Disclaimer of Warranty.
|
||||||
|
|
||||||
|
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||||
|
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||||
|
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||||
|
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||||
|
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||||
|
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||||
|
|
||||||
|
16. Limitation of Liability.
|
||||||
|
|
||||||
|
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||||
|
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||||
|
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||||
|
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||||
|
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||||
|
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||||
|
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||||
|
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||||
|
SUCH DAMAGES.
|
||||||
|
|
||||||
|
17. Interpretation of Sections 15 and 16.
|
||||||
|
|
||||||
|
If the disclaimer of warranty and limitation of liability provided
|
||||||
|
above cannot be given local legal effect according to their terms,
|
||||||
|
reviewing courts shall apply local law that most closely approximates
|
||||||
|
an absolute waiver of all civil liability in connection with the
|
||||||
|
Program, unless a warranty or assumption of liability accompanies a
|
||||||
|
copy of the Program in return for a fee.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
How to Apply These Terms to Your New Programs
|
||||||
|
|
||||||
|
If you develop a new program, and you want it to be of the greatest
|
||||||
|
possible use to the public, the best way to achieve this is to make it
|
||||||
|
free software which everyone can redistribute and change under these terms.
|
||||||
|
|
||||||
|
To do so, attach the following notices to the program. It is safest
|
||||||
|
to attach them to the start of each source file to most effectively
|
||||||
|
state the exclusion of warranty; and each file should have at least
|
||||||
|
the "copyright" line and a pointer to where the full notice is found.
|
||||||
|
|
||||||
|
<one line to give the program's name and a brief idea of what it does.>
|
||||||
|
Copyright (C) <year> <name of author>
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
|
If the program does terminal interaction, make it output a short
|
||||||
|
notice like this when it starts in an interactive mode:
|
||||||
|
|
||||||
|
<program> Copyright (C) <year> <name of author>
|
||||||
|
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||||
|
This is free software, and you are welcome to redistribute it
|
||||||
|
under certain conditions; type `show c' for details.
|
||||||
|
|
||||||
|
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||||
|
parts of the General Public License. Of course, your program's commands
|
||||||
|
might be different; for a GUI interface, you would use an "about box".
|
||||||
|
|
||||||
|
You should also get your employer (if you work as a programmer) or school,
|
||||||
|
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||||
|
For more information on this, and how to apply and follow the GNU GPL, see
|
||||||
|
<http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
The GNU General Public License does not permit incorporating your program
|
||||||
|
into proprietary programs. If your program is a subroutine library, you
|
||||||
|
may consider it more useful to permit linking proprietary applications with
|
||||||
|
the library. If this is what you want to do, use the GNU Lesser General
|
||||||
|
Public License instead of this License. But first, please read
|
||||||
|
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
||||||
+131
-18
@@ -57,18 +57,24 @@ SOURCES = main.cpp \
|
|||||||
buildvbox.cpp \
|
buildvbox.cpp \
|
||||||
vbox.cpp \
|
vbox.cpp \
|
||||||
command.cpp \
|
command.cpp \
|
||||||
infoutils.cpp qrc_图标.cpp \
|
infoutils.cpp \
|
||||||
|
qemu.cpp \
|
||||||
|
qemusetting.cpp qrc_图标.cpp \
|
||||||
moc_mainwindow.cpp \
|
moc_mainwindow.cpp \
|
||||||
moc_infoutils.cpp
|
moc_infoutils.cpp \
|
||||||
|
moc_qemusetting.cpp
|
||||||
OBJECTS = main.o \
|
OBJECTS = main.o \
|
||||||
mainwindow.o \
|
mainwindow.o \
|
||||||
buildvbox.o \
|
buildvbox.o \
|
||||||
vbox.o \
|
vbox.o \
|
||||||
command.o \
|
command.o \
|
||||||
infoutils.o \
|
infoutils.o \
|
||||||
|
qemu.o \
|
||||||
|
qemusetting.o \
|
||||||
qrc_图标.o \
|
qrc_图标.o \
|
||||||
moc_mainwindow.o \
|
moc_mainwindow.o \
|
||||||
moc_infoutils.o
|
moc_infoutils.o \
|
||||||
|
moc_qemusetting.o
|
||||||
DIST = /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/spec_pre.prf \
|
DIST = /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/spec_pre.prf \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/common/unix.conf \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/common/unix.conf \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/common/linux.conf \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/common/linux.conf \
|
||||||
@@ -93,6 +99,7 @@ DIST = /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/spec_pre.prf \
|
|||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KGuiAddons.pri \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KGuiAddons.pri \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KI18n.pri \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KI18n.pri \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KIconThemes.pri \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KIconThemes.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KIdleTime.pri \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KIOCore.pri \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KIOCore.pri \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KIOFileWidgets.pri \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KIOFileWidgets.pri \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KIOGui.pri \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KIOGui.pri \
|
||||||
@@ -104,11 +111,38 @@ DIST = /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/spec_pre.prf \
|
|||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KService.pri \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KService.pri \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KSyntaxHighlighting.pri \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KSyntaxHighlighting.pri \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KTextWidgets.pri \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KTextWidgets.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KWaylandClient.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KWaylandServer.pri \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KWidgetsAddons.pri \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KWidgetsAddons.pri \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KWindowSystem.pri \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KWindowSystem.pri \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KXmlGui.pri \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KXmlGui.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3danimation.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3danimation_private.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dcore.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dcore_private.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dextras.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dextras_private.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dinput.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dinput_private.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dlogic.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dlogic_private.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dquick.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dquick_private.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dquickanimation.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dquickanimation_private.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dquickextras.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dquickextras_private.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dquickinput.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dquickinput_private.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dquickrender.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dquickrender_private.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dquickscene2d.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dquickscene2d_private.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3drender.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3drender_private.pri \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_accessibility_support_private.pri \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_accessibility_support_private.pri \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_charts.pri \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_concurrent.pri \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_concurrent.pri \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_concurrent_private.pri \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_concurrent_private.pri \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_core.pri \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_core.pri \
|
||||||
@@ -191,7 +225,6 @@ DIST = /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/spec_pre.prf \
|
|||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/qt_config.prf \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/qt_config.prf \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++/qmake.conf \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++/qmake.conf \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/spec_post.prf \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/spec_post.prf \
|
||||||
.qmake.stash \
|
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/exclusive_builds.prf \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/exclusive_builds.prf \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/toolchain.prf \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/toolchain.prf \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/default_pre.prf \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/default_pre.prf \
|
||||||
@@ -215,12 +248,16 @@ DIST = /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/spec_pre.prf \
|
|||||||
buildvbox.h \
|
buildvbox.h \
|
||||||
vbox.h \
|
vbox.h \
|
||||||
command.h \
|
command.h \
|
||||||
infoutils.h main.cpp \
|
infoutils.h \
|
||||||
|
qemu.h \
|
||||||
|
qemusetting.h main.cpp \
|
||||||
mainwindow.cpp \
|
mainwindow.cpp \
|
||||||
buildvbox.cpp \
|
buildvbox.cpp \
|
||||||
vbox.cpp \
|
vbox.cpp \
|
||||||
command.cpp \
|
command.cpp \
|
||||||
infoutils.cpp
|
infoutils.cpp \
|
||||||
|
qemu.cpp \
|
||||||
|
qemusetting.cpp
|
||||||
QMAKE_TARGET = VirtualMachine
|
QMAKE_TARGET = VirtualMachine
|
||||||
DESTDIR =
|
DESTDIR =
|
||||||
TARGET = VirtualMachine
|
TARGET = VirtualMachine
|
||||||
@@ -229,7 +266,7 @@ TARGET = VirtualMachine
|
|||||||
first: all
|
first: all
|
||||||
####### Build rules
|
####### Build rules
|
||||||
|
|
||||||
VirtualMachine: ui_mainwindow.h $(OBJECTS)
|
VirtualMachine: ui_mainwindow.h ui_qemusetting.h $(OBJECTS)
|
||||||
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
|
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)
|
||||||
|
|
||||||
Makefile: VirtualMachine.pro /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++/qmake.conf /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/spec_pre.prf \
|
Makefile: VirtualMachine.pro /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++/qmake.conf /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/spec_pre.prf \
|
||||||
@@ -256,6 +293,7 @@ Makefile: VirtualMachine.pro /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++/qma
|
|||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KGuiAddons.pri \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KGuiAddons.pri \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KI18n.pri \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KI18n.pri \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KIconThemes.pri \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KIconThemes.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KIdleTime.pri \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KIOCore.pri \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KIOCore.pri \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KIOFileWidgets.pri \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KIOFileWidgets.pri \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KIOGui.pri \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KIOGui.pri \
|
||||||
@@ -267,11 +305,38 @@ Makefile: VirtualMachine.pro /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++/qma
|
|||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KService.pri \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KService.pri \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KSyntaxHighlighting.pri \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KSyntaxHighlighting.pri \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KTextWidgets.pri \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KTextWidgets.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KWaylandClient.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KWaylandServer.pri \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KWidgetsAddons.pri \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KWidgetsAddons.pri \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KWindowSystem.pri \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KWindowSystem.pri \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KXmlGui.pri \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KXmlGui.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3danimation.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3danimation_private.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dcore.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dcore_private.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dextras.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dextras_private.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dinput.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dinput_private.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dlogic.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dlogic_private.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dquick.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dquick_private.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dquickanimation.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dquickanimation_private.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dquickextras.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dquickextras_private.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dquickinput.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dquickinput_private.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dquickrender.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dquickrender_private.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dquickscene2d.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dquickscene2d_private.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3drender.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3drender_private.pri \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_accessibility_support_private.pri \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_accessibility_support_private.pri \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri \
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_charts.pri \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_concurrent.pri \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_concurrent.pri \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_concurrent_private.pri \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_concurrent_private.pri \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_core.pri \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_core.pri \
|
||||||
@@ -354,7 +419,6 @@ Makefile: VirtualMachine.pro /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++/qma
|
|||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/qt_config.prf \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/qt_config.prf \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++/qmake.conf \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++/qmake.conf \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/spec_post.prf \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/spec_post.prf \
|
||||||
.qmake.stash \
|
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/exclusive_builds.prf \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/exclusive_builds.prf \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/toolchain.prf \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/toolchain.prf \
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/default_pre.prf \
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/default_pre.prf \
|
||||||
@@ -401,6 +465,7 @@ Makefile: VirtualMachine.pro /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++/qma
|
|||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KGuiAddons.pri:
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KGuiAddons.pri:
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KI18n.pri:
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KI18n.pri:
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KIconThemes.pri:
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KIconThemes.pri:
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KIdleTime.pri:
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KIOCore.pri:
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KIOCore.pri:
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KIOFileWidgets.pri:
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KIOFileWidgets.pri:
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KIOGui.pri:
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KIOGui.pri:
|
||||||
@@ -412,11 +477,38 @@ Makefile: VirtualMachine.pro /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++/qma
|
|||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KService.pri:
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KService.pri:
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KSyntaxHighlighting.pri:
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KSyntaxHighlighting.pri:
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KTextWidgets.pri:
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KTextWidgets.pri:
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KWaylandClient.pri:
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KWaylandServer.pri:
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KWidgetsAddons.pri:
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KWidgetsAddons.pri:
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KWindowSystem.pri:
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KWindowSystem.pri:
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KXmlGui.pri:
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_KXmlGui.pri:
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3danimation.pri:
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3danimation_private.pri:
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dcore.pri:
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dcore_private.pri:
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dextras.pri:
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dextras_private.pri:
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dinput.pri:
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dinput_private.pri:
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dlogic.pri:
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dlogic_private.pri:
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dquick.pri:
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dquick_private.pri:
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dquickanimation.pri:
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dquickanimation_private.pri:
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dquickextras.pri:
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dquickextras_private.pri:
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dquickinput.pri:
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dquickinput_private.pri:
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dquickrender.pri:
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dquickrender_private.pri:
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dquickscene2d.pri:
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3dquickscene2d_private.pri:
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3drender.pri:
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_3drender_private.pri:
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_accessibility_support_private.pri:
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_accessibility_support_private.pri:
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri:
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri:
|
||||||
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_charts.pri:
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_concurrent.pri:
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_concurrent.pri:
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_concurrent_private.pri:
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_concurrent_private.pri:
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_core.pri:
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules/qt_lib_core.pri:
|
||||||
@@ -499,7 +591,6 @@ Makefile: VirtualMachine.pro /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++/qma
|
|||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/qt_config.prf:
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/qt_config.prf:
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++/qmake.conf:
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++/qmake.conf:
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/spec_post.prf:
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/spec_post.prf:
|
||||||
.qmake.stash:
|
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/exclusive_builds.prf:
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/exclusive_builds.prf:
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/toolchain.prf:
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/toolchain.prf:
|
||||||
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/default_pre.prf:
|
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/default_pre.prf:
|
||||||
@@ -537,9 +628,9 @@ distdir: FORCE
|
|||||||
$(COPY_FILE) --parents $(DIST) $(DISTDIR)/
|
$(COPY_FILE) --parents $(DIST) $(DISTDIR)/
|
||||||
$(COPY_FILE) --parents 图标.qrc $(DISTDIR)/
|
$(COPY_FILE) --parents 图标.qrc $(DISTDIR)/
|
||||||
$(COPY_FILE) --parents /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp $(DISTDIR)/
|
$(COPY_FILE) --parents /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp $(DISTDIR)/
|
||||||
$(COPY_FILE) --parents mainwindow.h buildvbox.h vbox.h command.h infoutils.h $(DISTDIR)/
|
$(COPY_FILE) --parents mainwindow.h buildvbox.h vbox.h command.h infoutils.h qemu.h qemusetting.h $(DISTDIR)/
|
||||||
$(COPY_FILE) --parents main.cpp mainwindow.cpp buildvbox.cpp vbox.cpp command.cpp infoutils.cpp $(DISTDIR)/
|
$(COPY_FILE) --parents main.cpp mainwindow.cpp buildvbox.cpp vbox.cpp command.cpp infoutils.cpp qemu.cpp qemusetting.cpp $(DISTDIR)/
|
||||||
$(COPY_FILE) --parents mainwindow.ui $(DISTDIR)/
|
$(COPY_FILE) --parents mainwindow.ui qemusetting.ui $(DISTDIR)/
|
||||||
$(COPY_FILE) --parents zh_CN.ts en_US.ts $(DISTDIR)/
|
$(COPY_FILE) --parents zh_CN.ts en_US.ts $(DISTDIR)/
|
||||||
|
|
||||||
|
|
||||||
@@ -594,9 +685,9 @@ compiler_moc_predefs_clean:
|
|||||||
moc_predefs.h: /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp
|
moc_predefs.h: /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp
|
||||||
g++ -pipe -O2 -std=gnu++11 -Wall -Wextra -dM -E -o moc_predefs.h /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp
|
g++ -pipe -O2 -std=gnu++11 -Wall -Wextra -dM -E -o moc_predefs.h /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp
|
||||||
|
|
||||||
compiler_moc_header_make_all: moc_mainwindow.cpp moc_infoutils.cpp
|
compiler_moc_header_make_all: moc_mainwindow.cpp moc_infoutils.cpp moc_qemusetting.cpp
|
||||||
compiler_moc_header_clean:
|
compiler_moc_header_clean:
|
||||||
-$(DEL_FILE) moc_mainwindow.cpp moc_infoutils.cpp
|
-$(DEL_FILE) moc_mainwindow.cpp moc_infoutils.cpp moc_qemusetting.cpp
|
||||||
moc_mainwindow.cpp: mainwindow.h \
|
moc_mainwindow.cpp: mainwindow.h \
|
||||||
moc_predefs.h \
|
moc_predefs.h \
|
||||||
/usr/lib/qt5/bin/moc
|
/usr/lib/qt5/bin/moc
|
||||||
@@ -607,17 +698,26 @@ moc_infoutils.cpp: infoutils.h \
|
|||||||
/usr/lib/qt5/bin/moc
|
/usr/lib/qt5/bin/moc
|
||||||
/usr/lib/qt5/bin/moc $(DEFINES) --include /home/gfdgd_xi/Desktop/deep-wine-runner/VM-source/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/home/gfdgd_xi/Desktop/deep-wine-runner/VM-source -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/8 -I/usr/include/x86_64-linux-gnu/c++/8 -I/usr/include/c++/8/backward -I/usr/lib/gcc/x86_64-linux-gnu/8/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/8/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include infoutils.h -o moc_infoutils.cpp
|
/usr/lib/qt5/bin/moc $(DEFINES) --include /home/gfdgd_xi/Desktop/deep-wine-runner/VM-source/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/home/gfdgd_xi/Desktop/deep-wine-runner/VM-source -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/8 -I/usr/include/x86_64-linux-gnu/c++/8 -I/usr/include/c++/8/backward -I/usr/lib/gcc/x86_64-linux-gnu/8/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/8/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include infoutils.h -o moc_infoutils.cpp
|
||||||
|
|
||||||
|
moc_qemusetting.cpp: qemusetting.h \
|
||||||
|
moc_predefs.h \
|
||||||
|
/usr/lib/qt5/bin/moc
|
||||||
|
/usr/lib/qt5/bin/moc $(DEFINES) --include /home/gfdgd_xi/Desktop/deep-wine-runner/VM-source/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/home/gfdgd_xi/Desktop/deep-wine-runner/VM-source -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/8 -I/usr/include/x86_64-linux-gnu/c++/8 -I/usr/include/c++/8/backward -I/usr/lib/gcc/x86_64-linux-gnu/8/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/8/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include qemusetting.h -o moc_qemusetting.cpp
|
||||||
|
|
||||||
compiler_moc_objc_header_make_all:
|
compiler_moc_objc_header_make_all:
|
||||||
compiler_moc_objc_header_clean:
|
compiler_moc_objc_header_clean:
|
||||||
compiler_moc_source_make_all:
|
compiler_moc_source_make_all:
|
||||||
compiler_moc_source_clean:
|
compiler_moc_source_clean:
|
||||||
compiler_uic_make_all: ui_mainwindow.h
|
compiler_uic_make_all: ui_mainwindow.h ui_qemusetting.h
|
||||||
compiler_uic_clean:
|
compiler_uic_clean:
|
||||||
-$(DEL_FILE) ui_mainwindow.h
|
-$(DEL_FILE) ui_mainwindow.h ui_qemusetting.h
|
||||||
ui_mainwindow.h: mainwindow.ui \
|
ui_mainwindow.h: mainwindow.ui \
|
||||||
/usr/lib/qt5/bin/uic
|
/usr/lib/qt5/bin/uic
|
||||||
/usr/lib/qt5/bin/uic mainwindow.ui -o ui_mainwindow.h
|
/usr/lib/qt5/bin/uic mainwindow.ui -o ui_mainwindow.h
|
||||||
|
|
||||||
|
ui_qemusetting.h: qemusetting.ui \
|
||||||
|
/usr/lib/qt5/bin/uic
|
||||||
|
/usr/lib/qt5/bin/uic qemusetting.ui -o ui_qemusetting.h
|
||||||
|
|
||||||
compiler_yacc_decl_make_all:
|
compiler_yacc_decl_make_all:
|
||||||
compiler_yacc_decl_clean:
|
compiler_yacc_decl_clean:
|
||||||
compiler_yacc_impl_make_all:
|
compiler_yacc_impl_make_all:
|
||||||
@@ -634,12 +734,14 @@ main.o: main.cpp mainwindow.h
|
|||||||
mainwindow.o: mainwindow.cpp mainwindow.h \
|
mainwindow.o: mainwindow.cpp mainwindow.h \
|
||||||
ui_mainwindow.h \
|
ui_mainwindow.h \
|
||||||
buildvbox.h \
|
buildvbox.h \
|
||||||
infoutils.h
|
infoutils.h \
|
||||||
|
qemusetting.h
|
||||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp
|
||||||
|
|
||||||
buildvbox.o: buildvbox.cpp buildvbox.h \
|
buildvbox.o: buildvbox.cpp buildvbox.h \
|
||||||
vbox.h \
|
vbox.h \
|
||||||
infoutils.h
|
infoutils.h \
|
||||||
|
qemu.h
|
||||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o buildvbox.o buildvbox.cpp
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o buildvbox.o buildvbox.cpp
|
||||||
|
|
||||||
vbox.o: vbox.cpp vbox.h \
|
vbox.o: vbox.cpp vbox.h \
|
||||||
@@ -652,6 +754,14 @@ command.o: command.cpp command.h
|
|||||||
infoutils.o: infoutils.cpp infoutils.h
|
infoutils.o: infoutils.cpp infoutils.h
|
||||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o infoutils.o infoutils.cpp
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o infoutils.o infoutils.cpp
|
||||||
|
|
||||||
|
qemu.o: qemu.cpp qemu.h \
|
||||||
|
command.h
|
||||||
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o qemu.o qemu.cpp
|
||||||
|
|
||||||
|
qemusetting.o: qemusetting.cpp qemusetting.h \
|
||||||
|
ui_qemusetting.h
|
||||||
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o qemusetting.o qemusetting.cpp
|
||||||
|
|
||||||
qrc_图标.o: qrc_图标.cpp
|
qrc_图标.o: qrc_图标.cpp
|
||||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_图标.o qrc_图标.cpp
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_图标.o qrc_图标.cpp
|
||||||
|
|
||||||
@@ -661,6 +771,9 @@ moc_mainwindow.o: moc_mainwindow.cpp
|
|||||||
moc_infoutils.o: moc_infoutils.cpp
|
moc_infoutils.o: moc_infoutils.cpp
|
||||||
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_infoutils.o moc_infoutils.cpp
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_infoutils.o moc_infoutils.cpp
|
||||||
|
|
||||||
|
moc_qemusetting.o: moc_qemusetting.cpp
|
||||||
|
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_qemusetting.o moc_qemusetting.cpp
|
||||||
|
|
||||||
####### Install
|
####### Install
|
||||||
|
|
||||||
install_target: first FORCE
|
install_target: first FORCE
|
||||||
|
|||||||
@@ -0,0 +1,26 @@
|
|||||||
|
# Windows虚拟机安装工具
|
||||||
|
## 介绍
|
||||||
|
基于VirtualBox/Qemu制作的小白Windows虚拟机安装工具,可以做到只需要用户下载系统镜像并点击安装即可,无需顾及虚拟机安装、创建、虚拟机的分区等等
|
||||||
|
此为 Wine 运行器子项目:https://gitee.com/gfdgd-xi/deep-wine-runner
|
||||||
|
依照 GPLV3 协议开源
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## 如何使用
|
||||||
|
安装最新版本的 Wine 运行器即可,最新版本的 Wine 运行器自带此安装工具
|
||||||
|
|
||||||
|
## 编译指南
|
||||||
|
```bash
|
||||||
|
git clone https://gitee.com/gfdgd-xi/windows-virtual-machine-installer-for-wine-runner.git
|
||||||
|
cd windows-virtual-machine-installer-for-wine-runner
|
||||||
|
qmake .
|
||||||
|
make -j4
|
||||||
|
```
|
||||||
|
## 预编译版本
|
||||||
|
https://gitee.com/gfdgd-xi/deep-wine-runner/tree/main/VM
|
||||||
|
|
||||||
|
# ©2020~2023 gfdgd xi、为什么您不喜欢熊出没和阿布呢
|
||||||
@@ -33,17 +33,22 @@ SOURCES += \
|
|||||||
buildvbox.cpp \
|
buildvbox.cpp \
|
||||||
vbox.cpp \
|
vbox.cpp \
|
||||||
command.cpp \
|
command.cpp \
|
||||||
infoutils.cpp
|
infoutils.cpp \
|
||||||
|
qemu.cpp \
|
||||||
|
qemusetting.cpp
|
||||||
|
|
||||||
HEADERS += \
|
HEADERS += \
|
||||||
mainwindow.h \
|
mainwindow.h \
|
||||||
buildvbox.h \
|
buildvbox.h \
|
||||||
vbox.h \
|
vbox.h \
|
||||||
command.h \
|
command.h \
|
||||||
infoutils.h
|
infoutils.h \
|
||||||
|
qemu.h \
|
||||||
|
qemusetting.h
|
||||||
|
|
||||||
FORMS += \
|
FORMS += \
|
||||||
mainwindow.ui
|
mainwindow.ui \
|
||||||
|
qemusetting.ui
|
||||||
|
|
||||||
# Default rules for deployment.
|
# Default rules for deployment.
|
||||||
qnx: target.path = /tmp/$${TARGET}/bin
|
qnx: target.path = /tmp/$${TARGET}/bin
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE QtCreatorProject>
|
<!DOCTYPE QtCreatorProject>
|
||||||
<!-- Written by QtCreator 4.8.2, 2023-03-11T11:41:41. -->
|
<!-- Written by QtCreator 4.8.2, 2023-04-22T21:23:25. -->
|
||||||
<qtcreator>
|
<qtcreator>
|
||||||
<data>
|
<data>
|
||||||
<variable>EnvironmentId</variable>
|
<variable>EnvironmentId</variable>
|
||||||
@@ -181,19 +181,20 @@
|
|||||||
</valuelist>
|
</valuelist>
|
||||||
<value type="int" key="PE.EnvironmentAspect.Base">2</value>
|
<value type="int" key="PE.EnvironmentAspect.Base">2</value>
|
||||||
<valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
|
<valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
|
||||||
<value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Executable"></value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">VirtualMachine</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Custom Executable</value>
|
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.CustomExecutableRunConfiguration</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:/home/gfdgd_xi/Desktop/deep-wine-runner/VM-source/VirtualMachine.pro</value>
|
||||||
|
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">VirtualMachine.pro</value>
|
||||||
<value type="QString" key="RunConfiguration.Arguments"></value>
|
<value type="QString" key="RunConfiguration.Arguments"></value>
|
||||||
<value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
|
<value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
|
||||||
<value type="bool" key="RunConfiguration.UseCppDebugger">false</value>
|
<value type="bool" key="RunConfiguration.UseCppDebugger">false</value>
|
||||||
<value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
|
<value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
|
||||||
|
<value type="bool" key="RunConfiguration.UseLibrarySearchPath">true</value>
|
||||||
<value type="bool" key="RunConfiguration.UseMultiProcess">false</value>
|
<value type="bool" key="RunConfiguration.UseMultiProcess">false</value>
|
||||||
<value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
|
<value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
|
||||||
<value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
|
<value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
|
||||||
<value type="QString" key="RunConfiguration.WorkingDirectory"></value>
|
<value type="QString" key="RunConfiguration.WorkingDirectory"></value>
|
||||||
<value type="QString" key="RunConfiguration.WorkingDirectory.default"></value>
|
<value type="QString" key="RunConfiguration.WorkingDirectory.default">/home/gfdgd_xi/Desktop/deep-wine-runner/VM-source</value>
|
||||||
</valuemap>
|
</valuemap>
|
||||||
<value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
|
<value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
|
||||||
</valuemap>
|
</valuemap>
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
+89
-9
@@ -1,3 +1,8 @@
|
|||||||
|
/*
|
||||||
|
* gfdgd xi、为什么您不喜欢熊出没和阿布呢
|
||||||
|
* 依照 GPLV3 开源
|
||||||
|
*/
|
||||||
|
#include <sys/sysinfo.h>
|
||||||
#include "buildvbox.h"
|
#include "buildvbox.h"
|
||||||
#include "vbox.h"
|
#include "vbox.h"
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
@@ -6,6 +11,7 @@
|
|||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
#include <QCoreApplication>
|
#include <QCoreApplication>
|
||||||
#include <infoutils.h>
|
#include <infoutils.h>
|
||||||
|
#include "qemu.h"
|
||||||
// 懒得用 QThread 了(要继承)
|
// 懒得用 QThread 了(要继承)
|
||||||
#include <thread>
|
#include <thread>
|
||||||
using namespace std;
|
using namespace std;
|
||||||
@@ -42,13 +48,15 @@ int buildvbox::Download(QString url, QString path, QString fileName){
|
|||||||
return system(("aria2c -x 16 -s 16 -c " + url + " -d " + path + " -o " + fileName).toUtf8());
|
return system(("aria2c -x 16 -s 16 -c " + url + " -d " + path + " -o " + fileName).toUtf8());
|
||||||
}
|
}
|
||||||
|
|
||||||
buildvbox::buildvbox(QString isoPath, int id){
|
buildvbox::buildvbox(QString isoPath, int id, int vm){
|
||||||
/*QDir vboxPath(QDir::homePath() + "/VirtualBox VMs/Windows");
|
/*if(vm == 1){
|
||||||
|
QDir vboxPath(QDir::homePath() + "/VirtualBox VMs/Windows");
|
||||||
if(vboxPath.exists()){
|
if(vboxPath.exists()){
|
||||||
qDebug("虚拟机存在,直接启动!");
|
qDebug("虚拟机存在,直接启动!");
|
||||||
vbox vm("Windows");
|
vbox vm("Windows");
|
||||||
vm.Start();
|
vm.Start();
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
}*/
|
}*/
|
||||||
QString programPath = QCoreApplication::applicationDirPath();
|
QString programPath = QCoreApplication::applicationDirPath();
|
||||||
|
|
||||||
@@ -62,8 +70,11 @@ buildvbox::buildvbox(QString isoPath, int id){
|
|||||||
|
|
||||||
QString net = GetNet();
|
QString net = GetNet();
|
||||||
qDebug() << "使用网卡:" << net << endl;
|
qDebug() << "使用网卡:" << net << endl;
|
||||||
|
if(vm == 0){
|
||||||
//vbox *box = new vbox("Window");
|
//vbox *box = new vbox("Window");
|
||||||
vbox vm("Windows");
|
//vbox vm("Windows");
|
||||||
|
qemu vm("Windows");
|
||||||
|
|
||||||
switch (id) {
|
switch (id) {
|
||||||
case 0:
|
case 0:
|
||||||
vm.Create("Windows7");
|
vm.Create("Windows7");
|
||||||
@@ -75,9 +86,18 @@ buildvbox::buildvbox(QString isoPath, int id){
|
|||||||
}
|
}
|
||||||
vm.CreateDiskControl();
|
vm.CreateDiskControl();
|
||||||
//vm.CreateDiskControl("storage_controller_2");
|
//vm.CreateDiskControl("storage_controller_2");
|
||||||
vm.CreateDisk(QDir::homePath() + "/VirtualBox VMs/Windows/Windows.vdi", 131072);
|
vm.CreateDisk(QDir::homePath() + "/Qemu/Windows/Windows.qcow2", 131072);
|
||||||
vm.MountDisk(QDir::homePath() + "/VirtualBox VMs/Windows/Windows.vdi");
|
vm.MountDisk(QDir::homePath() + "/Qemu/Windows/Windows.qcow2");
|
||||||
vm.MountISO(isoPath, "storage_controller_1", 0, 1);
|
vm.MountISO(isoPath, "storage_controller_1", 0, 1);
|
||||||
|
switch (id) {
|
||||||
|
case 0:
|
||||||
|
vm.MountISO(programPath + "/Windows7X86Auto.iso", "storage_controller_1", 1, 2);
|
||||||
|
break;
|
||||||
|
case 1:
|
||||||
|
vm.MountISO(programPath + "/Windows7X64Auto.iso", "storage_controller_1", 1, 2);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
/*vm.MountISO(isoPath, "storage_controller_1", 0, 1);
|
||||||
switch (id) {
|
switch (id) {
|
||||||
case 0:
|
case 0:
|
||||||
vm.MountISO(programPath + "/Windows7X86Auto.iso", "storage_controller_1", 1, 0);
|
vm.MountISO(programPath + "/Windows7X86Auto.iso", "storage_controller_1", 1, 0);
|
||||||
@@ -85,14 +105,14 @@ buildvbox::buildvbox(QString isoPath, int id){
|
|||||||
case 1:
|
case 1:
|
||||||
vm.MountISO(programPath + "/Windows7X64Auto.iso", "storage_controller_1", 1, 0);
|
vm.MountISO(programPath + "/Windows7X64Auto.iso", "storage_controller_1", 1, 0);
|
||||||
break;
|
break;
|
||||||
}
|
}*/
|
||||||
// 判断 VirtualBox Guest ISO 是否存在
|
// 判断 VirtualBox Guest ISO 是否存在
|
||||||
// 在的话直接挂载
|
// 在的话直接挂载
|
||||||
if(QFile::exists("/usr/share/virtualbox/VBoxGuestAdditions.iso")){
|
/*if(QFile::exists("/usr/share/virtualbox/VBoxGuestAdditions.iso")){
|
||||||
vm.MountISO("/usr/share/virtualbox/VBoxGuestAdditions.iso", "storage_controller_1", 1, 1);
|
vm.MountISO("/usr/share/virtualbox/VBoxGuestAdditions.iso", "storage_controller_1", 1, 1);
|
||||||
}
|
}*/
|
||||||
|
|
||||||
vm.SetCPU(1);
|
vm.SetCPU(get_nprocs());
|
||||||
long memory = 0;
|
long memory = 0;
|
||||||
long memoryAll = 0;
|
long memoryAll = 0;
|
||||||
long swap = 0;
|
long swap = 0;
|
||||||
@@ -112,4 +132,64 @@ buildvbox::buildvbox(QString isoPath, int id){
|
|||||||
vm.ShareFile("ROOT", "/");
|
vm.ShareFile("ROOT", "/");
|
||||||
vm.ShareFile("HOME", QDir::homePath());
|
vm.ShareFile("HOME", QDir::homePath());
|
||||||
vm.Start();
|
vm.Start();
|
||||||
|
}
|
||||||
|
else if(vm == 1){
|
||||||
|
// ?
|
||||||
|
//vbox *box = new vbox("Window");
|
||||||
|
vbox vm("Windows");
|
||||||
|
//qemu vm("Windows");
|
||||||
|
|
||||||
|
switch (id) {
|
||||||
|
case 0:
|
||||||
|
vm.Create("Windows7");
|
||||||
|
break;
|
||||||
|
case 1:
|
||||||
|
vm.Create("Windows7_64");
|
||||||
|
break;
|
||||||
|
vm.Create("WindowsNT_64");
|
||||||
|
}
|
||||||
|
QDir dir("/home/gfdgd_xi/Qemu/Windows/");
|
||||||
|
dir.mkpath("/home/gfdgd_xi/Qemu/Windows/");
|
||||||
|
vm.CreateDiskControl();
|
||||||
|
//vm.CreateDiskControl("storage_controller_2");
|
||||||
|
vm.CreateDisk(QDir::homePath() + "/VirtualBox VMs/Windows/Windows.vdi", 131072);
|
||||||
|
vm.MountDisk(QDir::homePath() + "/VirtualBox VMs/Windows/Windows.vdi");
|
||||||
|
vm.MountISO(isoPath, "storage_controller_1", 0, 1);
|
||||||
|
switch (id) {
|
||||||
|
case 0:
|
||||||
|
vm.MountISO(programPath + "/Windows7X86Auto.iso", "storage_controller_1", 1, 0);
|
||||||
|
break;
|
||||||
|
case 1:
|
||||||
|
vm.MountISO(programPath + "/Windows7X64Auto.iso", "storage_controller_1", 1, 0);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 判断 VirtualBox Guest ISO 是否存在
|
||||||
|
// 在的话直接挂载
|
||||||
|
if(QFile::exists("/usr/share/virtualbox/VBoxGuestAdditions.iso")){
|
||||||
|
vm.MountISO("/usr/share/virtualbox/VBoxGuestAdditions.iso", "storage_controller_1", 1, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
vm.SetCPU(get_nprocs_conf());
|
||||||
|
long memory = 0;
|
||||||
|
long memoryAll = 0;
|
||||||
|
long swap = 0;
|
||||||
|
long swapAll = 0;
|
||||||
|
infoUtils::memoryRate(memory, memoryAll, swap, swapAll);
|
||||||
|
//memoryRate(memory, memoryAll, swap, swapAll);
|
||||||
|
vm.SetMemory(memoryAll / 3 / 1024);
|
||||||
|
vm.SetDisplayMemory(32);
|
||||||
|
vm.SetNetBridge(net);
|
||||||
|
vm.EnabledAudio();
|
||||||
|
vm.EnabledClipboardMode();
|
||||||
|
vm.EnabledDraganddrop();
|
||||||
|
vm.SetVBoxSVGA();
|
||||||
|
vm.SetMousePS2();
|
||||||
|
vm.SetKeyboardPS2();
|
||||||
|
vm.OpenUSB();
|
||||||
|
vm.ShareFile("ROOT", "/");
|
||||||
|
vm.ShareFile("HOME", QDir::homePath());
|
||||||
|
vm.Start();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
/*
|
||||||
|
* gfdgd xi、为什么您不喜欢熊出没和阿布呢
|
||||||
|
* 依照 GPLV3 开源
|
||||||
|
*/
|
||||||
#ifndef BUILDVBOX_H
|
#ifndef BUILDVBOX_H
|
||||||
#define BUILDVBOX_H
|
#define BUILDVBOX_H
|
||||||
#include <QString>
|
#include <QString>
|
||||||
@@ -6,7 +10,7 @@ class buildvbox
|
|||||||
{
|
{
|
||||||
// Q_OBJECT
|
// Q_OBJECT
|
||||||
public:
|
public:
|
||||||
buildvbox(QString isoPath, int id=0);
|
buildvbox(QString isoPath, int id=0, int vm=0);
|
||||||
void CleanScreen();
|
void CleanScreen();
|
||||||
QString GetNet();
|
QString GetNet();
|
||||||
int Download(QString url, QString path, QString fileName);
|
int Download(QString url, QString path, QString fileName);
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
/*
|
||||||
|
* gfdgd xi、为什么您不喜欢熊出没和阿布呢
|
||||||
|
* 依照 GPLV3 开源
|
||||||
|
*/
|
||||||
#include "command.h"
|
#include "command.h"
|
||||||
#include <QProcess>
|
#include <QProcess>
|
||||||
Command::Command()
|
Command::Command()
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
/*
|
||||||
|
* gfdgd xi、为什么您不喜欢熊出没和阿布呢
|
||||||
|
* 依照 GPLV3 开源
|
||||||
|
*/
|
||||||
#ifndef COMMAND_H
|
#ifndef COMMAND_H
|
||||||
#define COMMAND_H
|
#define COMMAND_H
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
|||||||
+7
-3
@@ -1,3 +1,7 @@
|
|||||||
|
/*
|
||||||
|
* gfdgd xi、为什么您不喜欢熊出没和阿布呢
|
||||||
|
* 依照 GPLV3 开源
|
||||||
|
*/
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
#include <QTranslator>
|
#include <QTranslator>
|
||||||
@@ -23,11 +27,11 @@ int main(int argc, char *argv[])
|
|||||||
trans->load("virtualmachine-en_US.qm");
|
trans->load("virtualmachine-en_US.qm");
|
||||||
|
|
||||||
a.installTranslator(trans);
|
a.installTranslator(trans);
|
||||||
// 判断是否为 !amd64
|
// 判断是否为 !amd64(无需判断了)
|
||||||
if(GetRunCommand("arch").replace(" ", "").replace("\n", "") != QString("x86_64")){
|
/*if(GetRunCommand("arch").replace(" ", "").replace("\n", "") != QString("x86_64")){
|
||||||
QMessageBox::critical(NULL, "错误", "此程序不支持非 X86 架构,立即退出");
|
QMessageBox::critical(NULL, "错误", "此程序不支持非 X86 架构,立即退出");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}*/
|
||||||
MainWindow w;
|
MainWindow w;
|
||||||
|
|
||||||
w.show();
|
w.show();
|
||||||
|
|||||||
@@ -19,6 +19,8 @@
|
|||||||
#include <QtMath>
|
#include <QtMath>
|
||||||
#include <QJsonArray>
|
#include <QJsonArray>
|
||||||
#include <QDesktopServices>
|
#include <QDesktopServices>
|
||||||
|
#include <QMessageBox>
|
||||||
|
#include "qemusetting.h"
|
||||||
|
|
||||||
MainWindow::MainWindow(QWidget *parent) :
|
MainWindow::MainWindow(QWidget *parent) :
|
||||||
QMainWindow(parent),
|
QMainWindow(parent),
|
||||||
@@ -26,14 +28,24 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
ui->tabWidget->setTabPosition(QTabWidget::West); // 标签靠左
|
ui->tabWidget->setTabPosition(QTabWidget::West); // 标签靠左
|
||||||
|
// 选择最优虚拟机
|
||||||
|
if(!system("which qemu-system-x86_64")){
|
||||||
|
ui->vmChooser->setCurrentIndex(0);
|
||||||
|
}
|
||||||
|
if(!system("which vboxmanage")){
|
||||||
|
ui->vmChooser->setCurrentIndex(1);
|
||||||
|
}
|
||||||
|
if(!QFile::exists(QCoreApplication::applicationDirPath() + "/../RunCommandWithTerminal.py")){
|
||||||
|
ui->getQemu->setDisabled(true);
|
||||||
|
}
|
||||||
// 允许输出 qDebug 信息
|
// 允许输出 qDebug 信息
|
||||||
QLoggingCategory::defaultCategory()->setEnabled(QtDebugMsg, true);
|
QLoggingCategory::defaultCategory()->setEnabled(QtDebugMsg, true);
|
||||||
// 判断是否安装 vbox
|
// 判断是否安装 vbox(无需判断)
|
||||||
if(system("which VBoxManage")){
|
/*if(system("which VBoxManage")){
|
||||||
if(QMessageBox::question(this, "提示", "检测到您似乎没有安装 VirtualBox,立即安装?") == QMessageBox::Yes){
|
if(QMessageBox::question(this, "提示", "检测到您似乎没有安装 VirtualBox,立即安装?") == QMessageBox::Yes){
|
||||||
system("xdg-open https://www.virtualbox.org/wiki/Linux_Downloads");
|
system("xdg-open https://www.virtualbox.org/wiki/Linux_Downloads");
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
// QTimer
|
// QTimer
|
||||||
QTimer *cpuGet = new QTimer(this);
|
QTimer *cpuGet = new QTimer(this);
|
||||||
connect(cpuGet, &QTimer::timeout, this, &MainWindow::ShowCPUMessage);
|
connect(cpuGet, &QTimer::timeout, this, &MainWindow::ShowCPUMessage);
|
||||||
@@ -57,6 +69,7 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
QJsonObject versionObject = doc.object();
|
QJsonObject versionObject = doc.object();
|
||||||
|
QJsonValue buildTime = versionObject.value("Time");
|
||||||
QJsonValue versionValue = versionObject.value("Version");
|
QJsonValue versionValue = versionObject.value("Version");
|
||||||
QJsonArray thank = versionObject.value("Thank").toArray();
|
QJsonArray thank = versionObject.value("Thank").toArray();
|
||||||
QString thankText = "";
|
QString thankText = "";
|
||||||
@@ -68,7 +81,8 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||||||
// 设置程序标题
|
// 设置程序标题
|
||||||
this->setWindowTitle("Windows 应用适配工具 " + versionValue.toString());
|
this->setWindowTitle("Windows 应用适配工具 " + versionValue.toString());
|
||||||
// 读取谢明列表
|
// 读取谢明列表
|
||||||
ui->textBrowser_2->setHtml("<p>程序版本号:" + versionValue.toString() + "</p>" + ui->textBrowser_2->toHtml() +
|
ui->textBrowser_2->setHtml("<p>程序版本号:" + versionValue.toString() + ", " + GetRunCommand("arch") + "</p><p>安装包构建时间:" + buildTime.toString() + "</p><p>该组件构建时间:"
|
||||||
|
+ __DATE__ + " " + __TIME__ + "</p>" + ui->textBrowser_2->toHtml() +
|
||||||
"<hr/><h1>谢明列表</h1>" + thankText);
|
"<hr/><h1>谢明列表</h1>" + thankText);
|
||||||
connect(ui->textBrowser_2, &QTextBrowser::anchorClicked, this, [=](const QUrl &link){
|
connect(ui->textBrowser_2, &QTextBrowser::anchorClicked, this, [=](const QUrl &link){
|
||||||
QDesktopServices::openUrl(link);
|
QDesktopServices::openUrl(link);
|
||||||
@@ -79,6 +93,7 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||||||
connect(ui->textBrowser_3, &QTextBrowser::anchorClicked, this, [=](const QUrl &link){
|
connect(ui->textBrowser_3, &QTextBrowser::anchorClicked, this, [=](const QUrl &link){
|
||||||
QDesktopServices::openUrl(link);
|
QDesktopServices::openUrl(link);
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::ShowCPUMessage(){
|
void MainWindow::ShowCPUMessage(){
|
||||||
@@ -145,6 +160,44 @@ void MainWindow::on_browser_clicked()
|
|||||||
|
|
||||||
void MainWindow::on_install_clicked()
|
void MainWindow::on_install_clicked()
|
||||||
{
|
{
|
||||||
buildvbox(ui->isoPath->text(), ui->systemVersion->currentIndex());
|
switch (ui->vmChooser->currentIndex()) {
|
||||||
|
case 0:
|
||||||
|
if(system("which qemu-system-x86_64")){
|
||||||
|
if(QMessageBox::question(this, "提示", "您似乎没有安装 Qemu,是否继续创建虚拟机?") == QMessageBox::No){
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case 1:
|
||||||
|
if(system("which vboxmanage")){
|
||||||
|
if(QMessageBox::question(this, "提示", "您似乎没有安装 VBox,是否继续创建虚拟机?") == QMessageBox::No){
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
buildvbox(ui->isoPath->text(), ui->systemVersion->currentIndex(), ui->vmChooser->currentIndex());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void MainWindow::on_getvbox_clicked()
|
||||||
|
{
|
||||||
|
QDesktopServices::openUrl(QUrl("https://www.virtualbox.org/wiki/Linux_Downloads"));
|
||||||
|
}
|
||||||
|
|
||||||
|
void MainWindow::on_getQemu_clicked()
|
||||||
|
{
|
||||||
|
system(("python3 '" + QCoreApplication::applicationDirPath() + "/../RunCommandWithTerminal.py' '" + QCoreApplication::applicationDirPath() + "/../QemuSystemInstall.sh'").toLatin1());
|
||||||
|
}
|
||||||
|
|
||||||
|
void MainWindow::on_vmChooser_currentIndexChanged(int index)
|
||||||
|
{
|
||||||
|
ui->qemuSetting->setDisabled(index);
|
||||||
|
}
|
||||||
|
|
||||||
|
void MainWindow::on_qemuSetting_clicked()
|
||||||
|
{
|
||||||
|
QemuSetting *show = new QemuSetting();
|
||||||
|
show->show();
|
||||||
|
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
/*
|
||||||
|
* gfdgd xi、为什么您不喜欢熊出没和阿布呢
|
||||||
|
* 依照 GPLV3 开源
|
||||||
|
*/
|
||||||
#ifndef MAINWINDOW_H
|
#ifndef MAINWINDOW_H
|
||||||
#define MAINWINDOW_H
|
#define MAINWINDOW_H
|
||||||
|
|
||||||
@@ -22,6 +26,14 @@ private slots:
|
|||||||
void on_install_clicked();
|
void on_install_clicked();
|
||||||
|
|
||||||
|
|
||||||
|
void on_getvbox_clicked();
|
||||||
|
|
||||||
|
void on_getQemu_clicked();
|
||||||
|
|
||||||
|
void on_vmChooser_currentIndexChanged(int index);
|
||||||
|
|
||||||
|
void on_qemuSetting_clicked();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::MainWindow *ui;
|
Ui::MainWindow *ui;
|
||||||
long m_cpuAll;
|
long m_cpuAll;
|
||||||
|
|||||||
+61
-7
@@ -72,10 +72,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QComboBox" name="systemVersion">
|
<widget class="QComboBox" name="systemVersion">
|
||||||
<property name="currentText">
|
<property name="currentText">
|
||||||
<string/>
|
<string>Windows 7 32 位(支持自动安装)</string>
|
||||||
</property>
|
|
||||||
<property name="placeholderText">
|
|
||||||
<string>请选择系统类型(如果识别不了请自行选择,如果选择错误或不支持将无法进行自动安装)</string>
|
|
||||||
</property>
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
@@ -96,6 +93,40 @@
|
|||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<layout class="QHBoxLayout" name="horizontalLayout_7" stretch="0,1">
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="label_4">
|
||||||
|
<property name="text">
|
||||||
|
<string>虚拟机(建议默认):</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QComboBox" name="vmChooser">
|
||||||
|
<property name="currentText">
|
||||||
|
<string>qemu/kvm</string>
|
||||||
|
</property>
|
||||||
|
<property name="currentIndex">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="duplicatesEnabled">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>qemu/kvm</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>VirtualBox</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
||||||
<item>
|
<item>
|
||||||
@@ -111,6 +142,27 @@
|
|||||||
</property>
|
</property>
|
||||||
</spacer>
|
</spacer>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="qemuSetting">
|
||||||
|
<property name="text">
|
||||||
|
<string>Qemu虚拟机设置</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="getQemu">
|
||||||
|
<property name="text">
|
||||||
|
<string>安装 Qemu</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="getvbox">
|
||||||
|
<property name="text">
|
||||||
|
<string>获取VirtualBox</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="install">
|
<widget class="QPushButton" name="install">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
@@ -158,9 +210,11 @@ p, li { white-space: pre-wrap; }
|
|||||||
p, li { white-space: pre-wrap; }
|
p, li { white-space: pre-wrap; }
|
||||||
</style></head><body style=" font-family:'Noto Sans CJK SC'; font-size:10.5pt; font-weight:400; font-style:normal;">
|
</style></head><body style=" font-family:'Noto Sans CJK SC'; font-size:10.5pt; font-weight:400; font-style:normal;">
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:26pt; font-weight:600;">给小白的一段话</span></p>
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:26pt; font-weight:600;">给小白的一段话</span></p>
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">其实本质上跑完安装程序就没有然后了,顶多如果想要运行舒服一点点,可以安装加强功能,直接拉到最底下看就可以了</p>
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">其实本质上跑完安装程序就没有然后了,顶多如果想要运行舒服一点点,可以安装加强功能,直接拉到最底下看就可以了,<span style=" font-weight:600; font-style:italic; text-decoration: underline;">只限使用 VirtualBox</span></p>
|
||||||
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600; font-style:italic; text-decoration: underline;">如果你是用非 X86 PC,那暂时只能使用 qemu(没 kvm),且跨架构的性能损失很大,推荐使用 Windows XP 而非 Windows 7</span></p>
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">如果爱折腾的话,下面的都看看也无所谓的,想看往下翻就可以了</p>
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">如果爱折腾的话,下面的都看看也无所谓的,想看往下翻就可以了</p>
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">(如果鼠标被锁定到里面了按下键盘右边的“Ctrl”键就可以了)</p>
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600; text-decoration: underline;">(这里的帮助更新可能不会那么及时,更详细/新的帮助可以看:https://gitee.com/gfdgd-xi/deep-wine-runner/wikis 或 https://gitee.com/gfdgd-xi/wine-runner-wiki)</span></p>
|
||||||
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">(如果鼠标被锁定到里面了按下键盘右边的“Ctrl”键就可以了,<span style=" font-weight:600; font-style:italic; text-decoration: underline;">qemu则是 Ctrl+Alt+G</span> )</p>
|
||||||
<hr />
|
<hr />
|
||||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p>
|
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p>
|
||||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:26pt; font-weight:600;"><br /></p>
|
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:26pt; font-weight:600;"><br /></p>
|
||||||
@@ -193,7 +247,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">3、在这里修改即可</span></p>
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">3、在这里修改即可</span></p>
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><img src=":/picture/截图/截图_VirtualBox_20220712223705.png" /></p>
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><img src=":/picture/截图/截图_VirtualBox_20220712223705.png" /></p>
|
||||||
<hr />
|
<hr />
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:26pt; font-weight:600;">安装加强功能有什么好处?</span></p>
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:26pt; font-weight:600;">安装加强功能有什么好处?(只限使用 VirtualBox)</span></p>
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">1、支持鼠标自由从虚拟机和实体机切换</p>
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">1、支持鼠标自由从虚拟机和实体机切换</p>
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">2、支持虚拟机根据窗口大小自动设置分辨率</p>
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">2、支持虚拟机根据窗口大小自动设置分辨率</p>
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">3、支持文件共享、剪切板共享、文件拖放</p>
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">3、支持文件共享、剪切板共享、文件拖放</p>
|
||||||
|
|||||||
@@ -0,0 +1,115 @@
|
|||||||
|
/*
|
||||||
|
* gfdgd xi、为什么您不喜欢熊出没和阿布呢
|
||||||
|
*/
|
||||||
|
#include "qemu.h"
|
||||||
|
#include <QDir>
|
||||||
|
#include <QFile>
|
||||||
|
#include <QCoreApplication>
|
||||||
|
#include "command.h"
|
||||||
|
#include <QMessageBox>
|
||||||
|
#include <QProcess>
|
||||||
|
#include <QDebug>
|
||||||
|
|
||||||
|
qemu::qemu(QString name, QString managerPath) {
|
||||||
|
if(!QFile::exists(name)){
|
||||||
|
this->name = QDir::homePath() + "/Qemu/" + name;
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
this->name = name;
|
||||||
|
}
|
||||||
|
this->managerPath = managerPath;
|
||||||
|
//Command command = Command();
|
||||||
|
|
||||||
|
this->vboxVersion = Command().GetCommand("'" + managerPath + "qemu-system-i386' --version");
|
||||||
|
}
|
||||||
|
int qemu::Create(QString type){
|
||||||
|
if(!QFile::exists(this->name)){
|
||||||
|
QDir dir(this->name);
|
||||||
|
dir.mkpath(this->name);
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
int qemu::CreateDisk(QString path, int size){
|
||||||
|
if(QFile::exists(path)){
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
return system(("qemu-img create -f qcow2 '" + path + "' " + QString::number(size) + "M").toLatin1());
|
||||||
|
}
|
||||||
|
int qemu::CreateDiskControl(QString controlName){
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
int qemu::MountDisk(QString diskPath, QString controlName, int port, int device){
|
||||||
|
commandOption += "-drive 'file=" + diskPath + ",if=ide,index=" + QString::number(device) + "' ";
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
int qemu::MountISO(QString isoPath, QString controlName, int port, int device){
|
||||||
|
commandOption += "-drive 'media=cdrom,file=" + isoPath + ",if=ide,index=" + QString::number(device) + "' ";
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
int qemu::BootFirst(QString bootDrive){
|
||||||
|
commandOption += "-boot '" + bootDrive + "' ";
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
int qemu::SetNetBridge(QString netDriver){
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
int qemu::SetCPU(int number){
|
||||||
|
commandOption += "-smp " + QString::number(number) + " ";
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
int qemu::SetMemory(int memory){
|
||||||
|
commandOption += "-m " + QString::number(memory) + "M ";
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
int qemu::SetRemote(bool setting){
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
int qemu::SetRemoteConnectSetting(int port){
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
int qemu::Start(bool unShown){
|
||||||
|
qDebug() << commandOption;
|
||||||
|
if(Command().GetCommand("arch").replace("\n", "").replace(" ", "") == "x86_64"){
|
||||||
|
return system(("kvm " + commandOption + " &").toLatin1());
|
||||||
|
}
|
||||||
|
return system(("qemu-system-x86_64 " + commandOption + " &").toLatin1());
|
||||||
|
}
|
||||||
|
int qemu::Stop(){
|
||||||
|
system("killall qemu-system-x86_64 -9");
|
||||||
|
system("killall kvm -9");
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
int qemu::Delete(){
|
||||||
|
return system(("rm -rfv '" + name + "'").toLatin1());
|
||||||
|
}
|
||||||
|
int qemu::SetDisplayMemory(int memory){
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
int qemu::InstallGuessAdditions(QString controlName, int port, int device){
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
int qemu::EnabledAudio(){
|
||||||
|
commandOption += "-soundhw all ";
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
int qemu::EnabledClipboardMode(){
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
int qemu::EnabledDraganddrop(){
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
int qemu::ShareFile(QString name, QString path){
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
int qemu::SetVBoxSVGA(){
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
int qemu::SetMousePS2(){
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
int qemu::SetKeyboardPS2(){
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
int qemu::OpenUSB(){
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
@@ -0,0 +1,46 @@
|
|||||||
|
/*
|
||||||
|
* gfdgd xi、为什么您不喜欢熊出没和阿布呢
|
||||||
|
* 依照 GPLV3 开源
|
||||||
|
*/
|
||||||
|
#ifndef QEMU_H
|
||||||
|
#define QEMU_H
|
||||||
|
#include <QString>
|
||||||
|
|
||||||
|
class qemu
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
// 虚拟机信息
|
||||||
|
QString name;
|
||||||
|
QString managerPath;
|
||||||
|
QString vboxVersion;
|
||||||
|
qemu(QString name, QString managerPath="/usr/bin");
|
||||||
|
int Create(QString type="Windows7");
|
||||||
|
int CreateDisk(QString path, int size);
|
||||||
|
int CreateDiskControl(QString controlName="storage_controller_1");
|
||||||
|
int MountDisk(QString diskPath, QString controlName="storage_controller_1", int port=0, int device=0);
|
||||||
|
int MountISO(QString isoPath, QString controlName="storage_controller_1", int port=1, int device=0);
|
||||||
|
int BootFirst(QString bootDrive);
|
||||||
|
int SetNetBridge(QString netDriver);
|
||||||
|
int SetCPU(int number);
|
||||||
|
int SetMemory(int memory);
|
||||||
|
int SetRemote(bool setting);
|
||||||
|
int SetRemoteConnectSetting(int port=5540);
|
||||||
|
int Start(bool unShown=false);
|
||||||
|
int Stop();
|
||||||
|
int Delete();
|
||||||
|
int SetDisplayMemory(int memory);
|
||||||
|
int InstallGuessAdditions(QString controlName="storage_controller_1", int port=1, int device=0);
|
||||||
|
int EnabledAudio();
|
||||||
|
int EnabledClipboardMode();
|
||||||
|
int EnabledDraganddrop();
|
||||||
|
int ShareFile(QString name, QString path);
|
||||||
|
int SetVBoxSVGA();
|
||||||
|
int SetMousePS2();
|
||||||
|
int SetKeyboardPS2();
|
||||||
|
int OpenUSB();
|
||||||
|
private:
|
||||||
|
QString commandOption;
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // QEMU_H
|
||||||
@@ -0,0 +1,130 @@
|
|||||||
|
#include "qemusetting.h"
|
||||||
|
#include "ui_qemusetting.h"
|
||||||
|
#include <QMessageBox>
|
||||||
|
#include <QDesktopServices>
|
||||||
|
#include <QUrl>
|
||||||
|
#include <QJsonObject>
|
||||||
|
#include <QJsonDocument>
|
||||||
|
#include <QFile>
|
||||||
|
#include "infoutils.h"
|
||||||
|
#include <QDir>
|
||||||
|
#include <sys/sysinfo.h>
|
||||||
|
#include <QDebug>
|
||||||
|
|
||||||
|
QemuSetting::QemuSetting(QWidget *parent) :
|
||||||
|
QWidget(parent),
|
||||||
|
ui(new Ui::QemuSetting)
|
||||||
|
{
|
||||||
|
ui->setupUi(this);
|
||||||
|
// 判断是否安装了 Wine 运行器
|
||||||
|
ui->getrunner->setHidden(QFile::exists(QCoreApplication::applicationDirPath() + "/../mainwindow.py"));
|
||||||
|
// 设置变量
|
||||||
|
if(QFile::exists(QDir::homePath() + "/.config/deepin-wine-runner/QemuSetting.json")){
|
||||||
|
// 读取配置文件
|
||||||
|
QFile file(QDir::homePath() + "/.config/deepin-wine-runner/QemuSetting.json");
|
||||||
|
file.open(QIODevice::ReadOnly);
|
||||||
|
QJsonParseError error;
|
||||||
|
QJsonDocument document = QJsonDocument::fromJson(file.readAll(), &error);
|
||||||
|
file.close();
|
||||||
|
if(error.error != QJsonParseError::NoError){
|
||||||
|
QMessageBox::critical(this, "错误", error.errorString());
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
QJsonObject object = document.object();
|
||||||
|
qDebug() << QJsonDocument(object).toJson();
|
||||||
|
ui->enableKvm->setChecked(object.value("EnableKVM").toBool());
|
||||||
|
ui->enableRdp->setChecked(object.value("EnableRDP").toBool());
|
||||||
|
ui->enableVnc->setChecked(object.value("EnableVNC").toBool());
|
||||||
|
ui->enableSound->setChecked(object.value("EnableSound").toBool());
|
||||||
|
ui->memoryNumber->setValue(object.value("Memory").toInt());
|
||||||
|
ui->vncNumber->setValue(object.value("VNC").toInt());
|
||||||
|
ui->cpuNumber->setValue(object.value("CPU").toInt());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
// 默认
|
||||||
|
this->SetDefaultValue();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void QemuSetting::SetDefaultValue(){
|
||||||
|
long memory = 0;
|
||||||
|
long memoryAll = 0;
|
||||||
|
long swap = 0;
|
||||||
|
long swapAll = 0;
|
||||||
|
infoUtils::memoryRate(memory, memoryAll, swap, swapAll);
|
||||||
|
ui->memoryNumber->setValue(memoryAll / 3 / 1024);
|
||||||
|
ui->vncNumber->setValue(5);
|
||||||
|
ui->cpuNumber->setValue(get_nprocs());
|
||||||
|
ui->enableKvm->setChecked(true);
|
||||||
|
ui->enableRdp->setChecked(true);
|
||||||
|
ui->enableVnc->setChecked(true);
|
||||||
|
ui->enableSound->setChecked(true);
|
||||||
|
}
|
||||||
|
|
||||||
|
QemuSetting::~QemuSetting()
|
||||||
|
{
|
||||||
|
delete ui;
|
||||||
|
}
|
||||||
|
|
||||||
|
void QemuSetting::on_buttonBox_accepted()
|
||||||
|
{
|
||||||
|
QMessageBox::information(NULL, "", "");
|
||||||
|
acceptDrops();
|
||||||
|
}
|
||||||
|
|
||||||
|
void QemuSetting::on_save_clicked()
|
||||||
|
{
|
||||||
|
QJsonParseError error;
|
||||||
|
QJsonDocument document = QJsonDocument::fromJson("{}", &error);
|
||||||
|
if(error.error != QJsonParseError::NoError){
|
||||||
|
QMessageBox::critical(this, "错误", error.errorString());
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
QJsonObject object = document.object();
|
||||||
|
//object.insert("1", QJsonValue("aa"));
|
||||||
|
object.insert("EnableKVM", ui->enableKvm->isChecked());
|
||||||
|
object.insert("EnableRDP", ui->enableRdp->isChecked());
|
||||||
|
object.insert("EnableVNC", ui->enableVnc->isChecked());
|
||||||
|
object.insert("EnableSound", ui->enableSound->isChecked());
|
||||||
|
object.insert("Memory", ui->memoryNumber->value());
|
||||||
|
object.insert("VNC", ui->vncNumber->value());
|
||||||
|
object.insert("CPU", ui->cpuNumber->value());
|
||||||
|
qDebug() << QJsonDocument(object).toJson();
|
||||||
|
// 读取配置文件
|
||||||
|
QDir dir(QDir::homePath() + "/.config/deepin-wine-runner/");
|
||||||
|
if(!dir.exists()){
|
||||||
|
dir.mkpath(QDir::homePath() + "/.config/deepin-wine-runner/");
|
||||||
|
}
|
||||||
|
QFile file(QDir::homePath() + "/.config/deepin-wine-runner/QemuSetting.json");
|
||||||
|
file.open(QIODevice::WriteOnly);
|
||||||
|
file.write(QJsonDocument(object).toJson());
|
||||||
|
file.close();
|
||||||
|
QMessageBox::information(this, "提示", "保存完成!");
|
||||||
|
}
|
||||||
|
|
||||||
|
void QemuSetting::on_cancel_clicked()
|
||||||
|
{
|
||||||
|
delete this;
|
||||||
|
}
|
||||||
|
|
||||||
|
void QemuSetting::on_getrunner_clicked()
|
||||||
|
{
|
||||||
|
QDesktopServices::openUrl(QUrl("https://gitee.com/gfdgd-xi/deep-wine-runner/"));
|
||||||
|
}
|
||||||
|
|
||||||
|
void QemuSetting::on_enableVnc_stateChanged(int arg1)
|
||||||
|
{
|
||||||
|
// 控件的开启/关闭
|
||||||
|
ui->vncNumber->setEnabled(ui->enableVnc->isChecked());
|
||||||
|
}
|
||||||
|
|
||||||
|
void QemuSetting::on_setDefault_clicked()
|
||||||
|
{
|
||||||
|
if(QMessageBox::question(this, "提示", "你确定要重置为默认?重置后将无法恢复") == QMessageBox::No){
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
QFile::remove(QDir::homePath() + "/.config/deepin-wine-runner/QemuSetting.json");
|
||||||
|
this->SetDefaultValue();
|
||||||
|
QMessageBox::information(this, "提示", "设置完成!");
|
||||||
|
}
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
#ifndef QEMUSETTING_H
|
||||||
|
#define QEMUSETTING_H
|
||||||
|
|
||||||
|
#include <QWidget>
|
||||||
|
#include <QCheckBox>
|
||||||
|
#include <QSpinBox>
|
||||||
|
|
||||||
|
namespace Ui {
|
||||||
|
class QemuSetting;
|
||||||
|
}
|
||||||
|
|
||||||
|
class QemuSetting : public QWidget
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
explicit QemuSetting(QWidget *parent = nullptr);
|
||||||
|
~QemuSetting();
|
||||||
|
|
||||||
|
|
||||||
|
private slots:
|
||||||
|
void on_buttonBox_accepted();
|
||||||
|
|
||||||
|
void on_save_clicked();
|
||||||
|
|
||||||
|
void on_cancel_clicked();
|
||||||
|
|
||||||
|
void on_getrunner_clicked();
|
||||||
|
|
||||||
|
void on_enableVnc_stateChanged(int arg1);
|
||||||
|
|
||||||
|
void on_setDefault_clicked();
|
||||||
|
|
||||||
|
private:
|
||||||
|
void SetDefaultValue();
|
||||||
|
Ui::QemuSetting *ui;
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // QEMUSETTING_H
|
||||||
@@ -0,0 +1,210 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<ui version="4.0">
|
||||||
|
<class>QemuSetting</class>
|
||||||
|
<widget class="QWidget" name="QemuSetting">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>496</width>
|
||||||
|
<height>300</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="windowTitle">
|
||||||
|
<string>设置</string>
|
||||||
|
</property>
|
||||||
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||||
|
<item>
|
||||||
|
<layout class="QGridLayout" name="gridLayout">
|
||||||
|
<item row="9" column="1">
|
||||||
|
<spacer name="horizontalSpacer">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>40</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
<item row="4" column="0">
|
||||||
|
<widget class="QLabel" name="label_2">
|
||||||
|
<property name="text">
|
||||||
|
<string><h3>远程服务</h3></string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="6" column="0">
|
||||||
|
<widget class="QLabel" name="label_4">
|
||||||
|
<property name="text">
|
||||||
|
<string>VNC服务端口:</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="5" column="1">
|
||||||
|
<widget class="QCheckBox" name="enableRdp">
|
||||||
|
<property name="text">
|
||||||
|
<string>开启 rdp 服务映射</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="1" column="0">
|
||||||
|
<widget class="QLabel" name="label">
|
||||||
|
<property name="text">
|
||||||
|
<string>内存大小(MB):</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="1" column="1">
|
||||||
|
<widget class="QSpinBox" name="memoryNumber">
|
||||||
|
<property name="maximum">
|
||||||
|
<number>999999999</number>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="8" column="1">
|
||||||
|
<spacer name="verticalSpacer">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Vertical</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>20</width>
|
||||||
|
<height>40</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
<item row="6" column="1">
|
||||||
|
<widget class="QSpinBox" name="vncNumber">
|
||||||
|
<property name="maximum">
|
||||||
|
<number>9999</number>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="0" column="0">
|
||||||
|
<widget class="QLabel" name="label_6">
|
||||||
|
<property name="text">
|
||||||
|
<string><h3>基础设置</h3></string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="5" column="0">
|
||||||
|
<widget class="QCheckBox" name="enableVnc">
|
||||||
|
<property name="text">
|
||||||
|
<string>开启VNC服务</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="3" column="0">
|
||||||
|
<widget class="QCheckBox" name="enableKvm">
|
||||||
|
<property name="text">
|
||||||
|
<string>开启 kvm 加速</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="2" column="0">
|
||||||
|
<widget class="QLabel" name="label_3">
|
||||||
|
<property name="text">
|
||||||
|
<string>CPU核心数:</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="2" column="1">
|
||||||
|
<widget class="QSpinBox" name="cpuNumber">
|
||||||
|
<property name="maximum">
|
||||||
|
<number>999999999</number>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="3" column="1">
|
||||||
|
<widget class="QCheckBox" name="enableSound">
|
||||||
|
<property name="text">
|
||||||
|
<string>开启声音</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||||
|
<property name="sizeConstraint">
|
||||||
|
<enum>QLayout::SetDefaultConstraint</enum>
|
||||||
|
</property>
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="save">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>保存</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="cancel">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>取消</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="setDefault">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>重置
|
||||||
|
默认</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="getrunner">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>获取
|
||||||
|
Wine
|
||||||
|
运行器</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<spacer name="verticalSpacer_2">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Vertical</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>20</width>
|
||||||
|
<height>40</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
<resources/>
|
||||||
|
<connections/>
|
||||||
|
</ui>
|
||||||
+8
-1
@@ -1,3 +1,6 @@
|
|||||||
|
/*
|
||||||
|
* gfdgd xi、为什么您不喜欢熊出没和阿布呢
|
||||||
|
*/
|
||||||
#include "vbox.h"
|
#include "vbox.h"
|
||||||
#include "command.h"
|
#include "command.h"
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
@@ -10,9 +13,13 @@ vbox::vbox(QString name, QString managerPath) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int vbox::Create(QString type){
|
int vbox::Create(QString type){
|
||||||
return system(("\"" + managerPath + "\" createvm --name \""
|
system(("\"" + managerPath + "\" createvm --name \""
|
||||||
+ name + "\" --ostype \"" + type +
|
+ name + "\" --ostype \"" + type +
|
||||||
"\" --register").toLatin1());
|
"\" --register").toLatin1());
|
||||||
|
return system(("\"" + managerPath + "\" modifyvm \""
|
||||||
|
+ name + "\" --ostype \"" + type +
|
||||||
|
"\" ").toLatin1());
|
||||||
|
//vboxmanage modifyvm testvm --ostype
|
||||||
}
|
}
|
||||||
int vbox::CreateDisk(QString path, int size){
|
int vbox::CreateDisk(QString path, int size){
|
||||||
return system(("\"" + managerPath + "\" createvdi --filename \"" + path + "\" --size \"" + QString::number(size) + "\"").toLatin1());
|
return system(("\"" + managerPath + "\" createvdi --filename \"" + path + "\" --size \"" + QString::number(size) + "\"").toLatin1());
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
/*
|
||||||
|
* gfdgd xi、为什么您不喜欢熊出没和阿布呢
|
||||||
|
* 依照 GPLV3 开源
|
||||||
|
*/
|
||||||
#ifndef VBOX_H
|
#ifndef VBOX_H
|
||||||
#define VBOX_H
|
#define VBOX_H
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
|||||||
@@ -1,24 +0,0 @@
|
|||||||
QMAKE_CXX.QT_COMPILER_STDCXX = 201402L
|
|
||||||
QMAKE_CXX.QMAKE_GCC_MAJOR_VERSION = 8
|
|
||||||
QMAKE_CXX.QMAKE_GCC_MINOR_VERSION = 3
|
|
||||||
QMAKE_CXX.QMAKE_GCC_PATCH_VERSION = 0
|
|
||||||
QMAKE_CXX.COMPILER_MACROS = \
|
|
||||||
QT_COMPILER_STDCXX \
|
|
||||||
QMAKE_GCC_MAJOR_VERSION \
|
|
||||||
QMAKE_GCC_MINOR_VERSION \
|
|
||||||
QMAKE_GCC_PATCH_VERSION
|
|
||||||
QMAKE_CXX.INCDIRS = \
|
|
||||||
/usr/include/c++/8 \
|
|
||||||
/usr/include/x86_64-linux-gnu/c++/8 \
|
|
||||||
/usr/include/c++/8/backward \
|
|
||||||
/usr/lib/gcc/x86_64-linux-gnu/8/include \
|
|
||||||
/usr/local/include \
|
|
||||||
/usr/lib/gcc/x86_64-linux-gnu/8/include-fixed \
|
|
||||||
/usr/include/x86_64-linux-gnu \
|
|
||||||
/usr/include
|
|
||||||
QMAKE_CXX.LIBDIRS = \
|
|
||||||
/usr/lib/gcc/x86_64-linux-gnu/8 \
|
|
||||||
/usr/lib/x86_64-linux-gnu \
|
|
||||||
/usr/lib \
|
|
||||||
/lib/x86_64-linux-gnu \
|
|
||||||
/lib
|
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
import os
|
||||||
|
import sys
|
||||||
|
import json
|
||||||
|
import traceback
|
||||||
|
|
||||||
|
def ReadTXT(file: str):
|
||||||
|
with open(file, "r") as file:
|
||||||
|
things = file.read()
|
||||||
|
return things
|
||||||
|
|
||||||
|
# 运行
|
||||||
|
command = "qemu-system-x86_64"
|
||||||
|
#if "--kvm" in sys.argv:
|
||||||
|
# command = "kvm"
|
||||||
|
|
||||||
|
homePath = os.path.expanduser('~')
|
||||||
|
try:
|
||||||
|
setting = json.loads(ReadTXT(f"{homePath}/.config/deepin-wine-runner/QemuSetting.json"))
|
||||||
|
except:
|
||||||
|
print("无法读取配置")
|
||||||
|
traceback.print_exc()
|
||||||
|
sys.exit(1)
|
||||||
|
option = f"--hda \"$HOME/Qemu/Windows/Windows.qcow2\" -usb -m {setting['Memory']}M -smp {setting['CPU']} "
|
||||||
|
if setting["EnableKVM"]:
|
||||||
|
command = "kvm"
|
||||||
|
if setting["EnableRDP"]:
|
||||||
|
option += "-net user,hostfwd=tcp::3389-:3389 "
|
||||||
|
if setting["EnableVNC"]:
|
||||||
|
option += f"-display gtk -display vnc=:{setting['VNC']} "
|
||||||
|
if setting["EnableSound"]:
|
||||||
|
option += "-soundhw all "
|
||||||
|
os.system(f"{command} {option}")
|
||||||
Executable → Regular
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,5 +1,6 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
import os
|
import os
|
||||||
|
import updatekiller
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
print('''
|
print('''
|
||||||
|
|||||||
+3
-3
@@ -1,5 +1,5 @@
|
|||||||
Package: spark-deepin-wine-runner
|
Package: spark-deepin-wine-runner
|
||||||
Version: 3.2.0
|
Version: 3.2.1~alpha2
|
||||||
Maintainer: gfdgd xi <3025613752@qq.com>
|
Maintainer: gfdgd xi <3025613752@qq.com>
|
||||||
Homepage: https://gitee.com/gfdgd-xi-org/deep-wine-runner
|
Homepage: https://gitee.com/gfdgd-xi-org/deep-wine-runner
|
||||||
Architecture: all
|
Architecture: all
|
||||||
@@ -8,8 +8,8 @@ Certainty: possible
|
|||||||
Check: binaries
|
Check: binaries
|
||||||
Type: binary, udeb
|
Type: binary, udeb
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Depends: python3, python3-pil, libc6, python3-pil.imagetk, python3-pyquery, aria2, curl, unrar | unrar-free , unzip, python3-requests, python3-pyqt5, python3-psutil, deepin-terminal | mate-terminal | gnome-terminal | xfce4-terminal, python3-dbus, python3-pip, p7zip-full, sudo
|
Depends: python3, python3-pil, libc6, python3-pil.imagetk, python3-pyquery, aria2, curl, unrar | unrar-free , unzip, python3-requests, python3-pyqt5, python3-psutil, deepin-terminal | mate-terminal | gnome-terminal | xfce4-terminal, python3-dbus, python3-pip, p7zip-full, sudo, python3-pyperclip
|
||||||
Recommends: winbind, wimtools, python3-pyqt5.qtwebengine
|
Recommends: winbind, wimtools, python3-pyqt5.qtwebengine, qemu-user, binfmt-support, qemu-user-static
|
||||||
Section: utils
|
Section: utils
|
||||||
Conflicts: spark.deepin-venturi-setter, spark-deepin-wine5-application-packer, spark-deepin-wine-runner-52, spark-deepin-wine-runner
|
Conflicts: spark.deepin-venturi-setter, spark-deepin-wine5-application-packer, spark-deepin-wine-runner-52, spark-deepin-wine-runner
|
||||||
Replaces: spark.deepin-venturi-setter, spark-deepin-wine5-application-packer, spark-deepin-wine-runner-52, spark-deepin-wine-runner
|
Replaces: spark.deepin-venturi-setter, spark-deepin-wine5-application-packer, spark-deepin-wine-runner-52, spark-deepin-wine-runner
|
||||||
|
|||||||
+23
-6
@@ -8,6 +8,8 @@
|
|||||||
# 基于 sh
|
# 基于 sh
|
||||||
#################################################################################################################
|
#################################################################################################################
|
||||||
# 非强制性的必应组件,所以成功不成功都行
|
# 非强制性的必应组件,所以成功不成功都行
|
||||||
|
# 程序版本号
|
||||||
|
version=3.2.0
|
||||||
echo 安装组件
|
echo 安装组件
|
||||||
python3 -m pip install --upgrade pynput --trusted-host https://repo.huaweicloud.com -i https://repo.huaweicloud.com/repository/pypi/simple > /dev/null 2>&1 | true
|
python3 -m pip install --upgrade pynput --trusted-host https://repo.huaweicloud.com -i https://repo.huaweicloud.com/repository/pypi/simple > /dev/null 2>&1 | true
|
||||||
python3 -m pip install --upgrade xpinyin --trusted-host https://repo.huaweicloud.com -i https://repo.huaweicloud.com/repository/pypi/simple > /dev/null 2>&1 | true
|
python3 -m pip install --upgrade xpinyin --trusted-host https://repo.huaweicloud.com -i https://repo.huaweicloud.com/repository/pypi/simple > /dev/null 2>&1 | true
|
||||||
@@ -30,11 +32,11 @@ echo 移除完成
|
|||||||
if [ `arch` != "x86_64" ]; then
|
if [ `arch` != "x86_64" ]; then
|
||||||
echo 非X86架构,删除对非X86架构无用的组件
|
echo 非X86架构,删除对非X86架构无用的组件
|
||||||
# 删除虚拟机功能
|
# 删除虚拟机功能
|
||||||
rm -rf /opt/apps/deepin-wine-runner/StartVM.sh
|
#rm -rf /opt/apps/deepin-wine-runner/StartVM.sh
|
||||||
rm -rf /opt/apps/deepin-wine-runner/RunVM.sh
|
#rm -rf /opt/apps/deepin-wine-runner/RunVM.sh
|
||||||
rm -rf /opt/apps/deepin-wine-runner/VM
|
#rm -rf /opt/apps/deepin-wine-runner/VM
|
||||||
rm -rf /usr/share/applications/spark-deepin-wine-runner-control-vm.desktop
|
#rm -rf /usr/share/applications/spark-deepin-wine-runner-control-vm.desktop
|
||||||
rm -rf /usr/share/applications/spark-deepin-wine-runner-start-vm.desktop
|
#rm -rf /usr/share/applications/spark-deepin-wine-runner-start-vm.desktop
|
||||||
# 删除安装 wine 功能
|
# 删除安装 wine 功能
|
||||||
rm -rf "/opt/apps/deepin-wine-runner/wine install"
|
rm -rf "/opt/apps/deepin-wine-runner/wine install"
|
||||||
# 这个注释掉的理论可用,不移除
|
# 这个注释掉的理论可用,不移除
|
||||||
@@ -48,6 +50,21 @@ if [ `arch` != "x86_64" ]; then
|
|||||||
rm -rf /opt/apps/deepin-wine-runner/AllInstall.py
|
rm -rf /opt/apps/deepin-wine-runner/AllInstall.py
|
||||||
rm -rf /opt/apps/deepin-wine-runner/InstallNewWineHQ.sh
|
rm -rf /opt/apps/deepin-wine-runner/InstallNewWineHQ.sh
|
||||||
fi
|
fi
|
||||||
|
# 处理 VM 工具
|
||||||
|
vmPath=/opt/apps/deepin-wine-runner/VM/VirtualMachine-`arch`
|
||||||
|
echo 当前架构为:`arch`
|
||||||
|
if [ -f $vmPath ]; then
|
||||||
|
echo 虚拟机工具有该架构的预编译文件
|
||||||
|
# 移除辅助文件
|
||||||
|
rm -f /opt/apps/deepin-wine-runner/VM/VirtualMachine
|
||||||
|
# 移动
|
||||||
|
mv $vmPath /opt/apps/deepin-wine-runner/VM/VirtualMachine
|
||||||
|
rm -f /opt/apps/deepin-wine-runner/VM/VirtualMachine-*
|
||||||
|
else
|
||||||
|
echo 虚拟机工具无该架构的预编译文件
|
||||||
|
rm -f /opt/apps/deepin-wine-runner/VM/VirtualMachine-*
|
||||||
|
fi
|
||||||
|
echo 处理完成!
|
||||||
# 到时候切换 gpg 源会方便很多
|
# 到时候切换 gpg 源会方便很多
|
||||||
if [ -r /etc/apt/sources.list.d/better-dde.list ]; then
|
if [ -r /etc/apt/sources.list.d/better-dde.list ]; then
|
||||||
if [ -d /usr/share/deepin-installer ]; then
|
if [ -d /usr/share/deepin-installer ]; then
|
||||||
@@ -64,4 +81,4 @@ fi
|
|||||||
# 设置目录权限,让用户可读可写,方便后续删除组件
|
# 设置目录权限,让用户可读可写,方便后续删除组件
|
||||||
chmod 777 -R /opt/apps/deepin-wine-runner
|
chmod 777 -R /opt/apps/deepin-wine-runner
|
||||||
# 向服务器返回安装数加1(不显示内容且忽略错误)
|
# 向服务器返回安装数加1(不显示内容且忽略错误)
|
||||||
python3 /opt/apps/deepin-wine-runner/Download.py 3.1.0 > /dev/null 2>&1 | true
|
python3 /opt/apps/deepin-wine-runner/Download.py $version > /dev/null 2>&1 | true
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
# 引入所需的库
|
# 引入所需的库
|
||||||
#################
|
#################
|
||||||
import os
|
import os
|
||||||
|
import updatekiller
|
||||||
|
|
||||||
def AddSparkStoreSource():
|
def AddSparkStoreSource():
|
||||||
# Download and install key
|
# Download and install key
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ import os
|
|||||||
import sys
|
import sys
|
||||||
import json
|
import json
|
||||||
import pyquery
|
import pyquery
|
||||||
|
import updatekiller
|
||||||
import req as requests
|
import req as requests
|
||||||
import urllib.parse as parse
|
import urllib.parse as parse
|
||||||
|
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ import sys
|
|||||||
import base64
|
import base64
|
||||||
import json
|
import json
|
||||||
import traceback
|
import traceback
|
||||||
|
import updatekiller
|
||||||
import urllib.request
|
import urllib.request
|
||||||
import req as requests
|
import req as requests
|
||||||
import PyQt5.QtWidgets as QtWidgets
|
import PyQt5.QtWidgets as QtWidgets
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import traceback
|
import traceback
|
||||||
|
import updatekiller
|
||||||
import PyQt5.QtGui as QtGui
|
import PyQt5.QtGui as QtGui
|
||||||
import PyQt5.QtCore as QtCore
|
import PyQt5.QtCore as QtCore
|
||||||
import PyQt5.QtWidgets as QtWidgets
|
import PyQt5.QtWidgets as QtWidgets
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ import sys
|
|||||||
import time
|
import time
|
||||||
import json
|
import json
|
||||||
import random
|
import random
|
||||||
|
import updatekiller
|
||||||
# 阉割 Android 应用安装功能
|
# 阉割 Android 应用安装功能
|
||||||
#import uengineapi
|
#import uengineapi
|
||||||
import platform
|
import platform
|
||||||
|
|||||||
BIN
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
+35
@@ -0,0 +1,35 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
if [[ `whoami` != root ]]; then
|
||||||
|
echo 请以 root 权限运行
|
||||||
|
echo 按任意键退出
|
||||||
|
read
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
PCArch=`dpkg --print-architecture`
|
||||||
|
if [[ $PCArch != "aarch64" ]] && [[ $PCArch != "arm64" ]]; then
|
||||||
|
echo 非 ARM 架构,无法继续
|
||||||
|
echo 按任意键退出
|
||||||
|
read
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
which box86
|
||||||
|
if [[ $? == 0 ]]; then
|
||||||
|
echo 已安装,结束
|
||||||
|
echo 按回车键退出
|
||||||
|
read
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
#sudo wget https://itai-nelken.github.io/weekly-box86-debs/debian/box86.list -O /etc/apt/sources.list.d/box86.list
|
||||||
|
echo deb https://code.gitlink.org.cn/gfdgd_xi/weekly-box86-debs/raw/branch/main/debian / > /etc/apt/sources.list.d/box86.list
|
||||||
|
echo "adding key..."
|
||||||
|
wget -qO- https://code.gitlink.org.cn/gfdgd_xi/weekly-box86-debs/raw/branch/main/debian/KEY.gpg | sudo apt-key add -
|
||||||
|
installBox=box86
|
||||||
|
if [[ $PCArch == "arm64" ]]; then
|
||||||
|
installBox="box86 box64"
|
||||||
|
sudo dpkg --add-architecture armhf
|
||||||
|
fi
|
||||||
|
echo " + sudo apt update"
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install -y $installBox
|
||||||
|
echo 安装完成!按回车键退出
|
||||||
|
read
|
||||||
@@ -13,6 +13,7 @@
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import json
|
import json
|
||||||
|
import updatekiller
|
||||||
import traceback
|
import traceback
|
||||||
import req as requests
|
import req as requests
|
||||||
def exit():
|
def exit():
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ import os
|
|||||||
import sys
|
import sys
|
||||||
import json
|
import json
|
||||||
import shutil
|
import shutil
|
||||||
|
import updatekiller
|
||||||
import req as requests
|
import req as requests
|
||||||
homePath = os.path.expanduser('~')
|
homePath = os.path.expanduser('~')
|
||||||
try:
|
try:
|
||||||
|
|||||||
@@ -12,6 +12,7 @@
|
|||||||
#################
|
#################
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
import updatekiller
|
||||||
import traceback
|
import traceback
|
||||||
import pyquery
|
import pyquery
|
||||||
|
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import json
|
import json
|
||||||
|
import updatekiller
|
||||||
import req as requests
|
import req as requests
|
||||||
try:
|
try:
|
||||||
sourcesList = [
|
sourcesList = [
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user