mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-01-13 01:58:27 +08:00
支持换源
This commit is contained in:
parent
befcbf0520
commit
7b20666c87
@ -20,7 +20,11 @@ import PyQt5.QtWidgets as QtWidgets
|
|||||||
from UI.AutoConfig import *
|
from UI.AutoConfig import *
|
||||||
from Model import *
|
from Model import *
|
||||||
|
|
||||||
urlSources = "https://code.gitlink.org.cn/gfdgd_xi/wine-runner-list/raw/branch/master/auto"
|
urlSources = [
|
||||||
|
"https://code.gitlink.org.cn/gfdgd_xi/wine-runner-list/raw/branch/master/auto",
|
||||||
|
"http://gfdgdxi.msns.cn/wine-runner-list/auto/", # 备用源,纯 IPv6 源
|
||||||
|
"http://127.0.0.1/wine-runner-list/auto/" # 本地测试源
|
||||||
|
][0]
|
||||||
lists = []
|
lists = []
|
||||||
class ProgramRunStatusUpload():
|
class ProgramRunStatusUpload():
|
||||||
msgWindow = None
|
msgWindow = None
|
||||||
|
@ -1295,7 +1295,7 @@ Description: {e3_text.text()}
|
|||||||
################
|
################
|
||||||
if not self.build:
|
if not self.build:
|
||||||
self.label.emit("正在构建 deb 包……")
|
self.label.emit("正在构建 deb 包……")
|
||||||
self.run_command("bash -c 'dpkg -b {} {}'".format(debPackagePath, e12_text.text()))
|
self.run_command("bash -c 'dpkg -b \"{}\" \"{}\"'".format(debPackagePath, e12_text.text()))
|
||||||
################
|
################
|
||||||
# 完成构建
|
# 完成构建
|
||||||
################
|
################
|
||||||
|
@ -308,7 +308,11 @@ def get_now_lang()->"获取当前语言":
|
|||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
localJsonList = []
|
localJsonList = []
|
||||||
internetJsonList = []
|
internetJsonList = []
|
||||||
internetWineSource = "https://code.gitlink.org.cn/gfdgd_xi/wine-mirrors/raw/branch/master/"
|
internetWineSource = [
|
||||||
|
"https://code.gitlink.org.cn/gfdgd_xi/wine-mirrors/raw/branch/master/",
|
||||||
|
"http://gfdgdxi.msns.cn/wine-mirrors/", # 备用源,纯 IPv6 源
|
||||||
|
"http://127.0.0.1/wine-mirrors/" # 本地测试源
|
||||||
|
][1]
|
||||||
app = QtWidgets.QApplication(sys.argv)
|
app = QtWidgets.QApplication(sys.argv)
|
||||||
# 读取翻译
|
# 读取翻译
|
||||||
if not get_now_lang() == "zh_CN.UTF-8":
|
if not get_now_lang() == "zh_CN.UTF-8":
|
||||||
|
Loading…
Reference in New Issue
Block a user