From 895e55d964b5b4ed772ab1d6212d27e09ce2788c Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Tue, 3 Jan 2023 13:40:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=85=8D=E7=BD=AE=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=E8=AF=84=E5=88=86=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AutoConfig.py | 175 ++++++++++++++++-- ConfigLanguareRunner.py | 23 ++- .../ConfigLanguareRunner.cpython-37.pyc | Bin 17556 -> 18800 bytes deb/DEBIAN/control | 2 +- deepin-wine-easy-packager.py | 2 + mainwindow.py | 8 +- 6 files changed, 185 insertions(+), 25 deletions(-) diff --git a/AutoConfig.py b/AutoConfig.py index b438e76..6e1910e 100755 --- a/AutoConfig.py +++ b/AutoConfig.py @@ -31,12 +31,15 @@ urlSourcesList = [ "https://gitee.com/gfdgd-xi/deep-wine-runner-auto-configuration-script/raw/master/", # Gitee 源 "https://gfdgd-xi.github.io/deep-wine-runner-auto-configuration-script/", # Github 源 "http://gfdgdxi.msns.cn/wine-runner-list/auto/", # 备用源1,纯 IPv6 源 - "http://120.25.153.144/deep-wine-runner-auto-configuration-script/", # 备用源2 + "http://gfdgdxi.free.idcfengye.com/deep-wine-runner-auto-configuration-script/", # 备用源2 "http://gfdgdxi.free.idcfengye.com/wine-runner-list/auto/", # 备用源 3 "http://127.0.0.1/wine-runner-list/auto/" # 本地测试源 ] urlSources = urlSourcesList[0] lists = [] + +#print(requests.post("http://120.25.153.144:30250/PingLun", {"PinLun": "测试文本", "Version": "purgeexepro.sh"}).text) + class ProgramRunStatusUpload(): msgWindow = None starLayout = None @@ -136,7 +139,7 @@ class InformationWindow(): about = f"

关于“{choose}”的介绍

\n

暂无此程序的介绍

" try: import requests as r - fenlists = requests.get(base64.b64decode("aHR0cDovLzEyMC4yNS4xNTMuMTQ0L3NwYXJrLWRlZXBpbi13aW5lLXJ1bm5lci9iYXNoYXBwLw==").decode("utf-8") + fileName + base64.b64decode("L2FsbC5qc29u").decode("utf-8"), timeout=1000).json() + fenlists = requests.get(base64.b64decode("aHR0cHM6Ly9jb2RlLmdpdGxpbmsub3JnLmNuL2dmZGdkLXhpLW9yZy93aW5lLXJ1bm5lci1kb3dubG9hZHMtb2YtcnVubmVyL3Jhdy9icmFuY2gvbWFzdGVyL0Jhc2hBcHBGZW4v").decode("utf-8") + fileName + base64.b64decode("L2FsbC5qc29u").decode("utf-8"), timeout=1000).json() tipsInfo = "" except: fenlists = [0, 0, 0, 0, 0] @@ -207,10 +210,36 @@ class InformationWindow(): message.show() message.exec_() +def Add(lists: list): + global pinLunLayout + pinLunLayout1 = QtWidgets.QVBoxLayout() + pinLunLayout = QtWidgets.QWidget() + pinLunLayout.setLayout(pinLunLayout1) + for i in range(pinLunLayout1.count()): + pinLunLayout1.removeItem(pinLunLayout1.itemAt(i)) + for i in lists: + widget = QtWidgets.QWidget() + inLayout = QtWidgets.QGridLayout() + inLayout.addWidget(QtWidgets.QLabel("
"), 0, 0, 1, 3) + inLayout.addWidget(QtWidgets.QLabel(f"{i[0]}"), 1, 0) + inLayout.addWidget(QtWidgets.QLabel(f"

第{i[1]}层

"), 1, 2) + inLayout.addWidget(QtWidgets.QLabel(i[2]), 2, 0, 1, 3) + widget.setLayout(inLayout) + pinLunLayout1.addWidget(widget) + #pinLunLayout.addWidget(QtWidgets.QLabel("
")) +# pinLunLayout = widget + +all = 0 +now = 0 class ProgramRunStatusShow(): msgWindow = None + pingLunLayout = None def ShowWindow(): global lists + global all + global now + global leftButton + global rightButton # 获取选中项 try: choose = ui.searchList.selectionModel().selectedIndexes()[0].data() @@ -224,15 +253,12 @@ class ProgramRunStatusShow(): fileName = i[1] break try: - fenlists = requests.get(base64.b64decode("aHR0cDovLzEyMC4yNS4xNTMuMTQ0L3NwYXJrLWRlZXBpbi13aW5lLXJ1bm5lci9iYXNoYXBwLw==").decode("utf-8") + fileName + base64.b64decode("L2FsbC5qc29u").decode("utf-8")).json() - #r = requests.get(base64.b64decode("aHR0cDovLzEyMC4yNS4xNTMuMTQ0L3NwYXJrLWRlZXBpbi13aW5lLXJ1bm5lci9hcHAv").decode("utf-8") + sha + base64.b64decode("L3RpdGxlLnR4dA==").decode("utf-8")) - #r.encoding = "utf-8" - #title = r.text + fenlists = requests.get(base64.b64decode("aHR0cHM6Ly9jb2RlLmdpdGxpbmsub3JnLmNuL2dmZGdkLXhpLW9yZy93aW5lLXJ1bm5lci1kb3dubG9hZHMtb2YtcnVubmVyL3Jhdy9icmFuY2gvbWFzdGVyL0Jhc2hBcHBGZW4v").decode("utf-8") + fileName + base64.b64decode("L2FsbC5qc29u").decode("utf-8")).json() tipsInfo = "" except: #traceback.print_exc() fenlists = [0, 0, 0, 0, 0] - tipsInfo = "暂时无人提交此脚本运行情况,是否立即提交?" + tipsInfo = "暂时无人提交此脚本评分,是否立即提交?" maxHead = fenlists.index(max(fenlists)) allNumber = 0 @@ -248,13 +274,13 @@ class ProgramRunStatusShow(): msgWidget = QtWidgets.QWidget() msgWidgetLayout = QtWidgets.QGridLayout() starLayout = QtWidgets.QHBoxLayout() - uploadButton = QtWidgets.QPushButton(QtCore.QCoreApplication.translate("U", "点此上传运行情况")) + uploadButton = QtWidgets.QPushButton(QtCore.QCoreApplication.translate("U", "点此提交评分")) uploadButton.clicked.connect(lambda: ProgramRunStatusUpload.ShowWindow(fileName, choose)) - msgWidgetLayout.addWidget(QtWidgets.QLabel(QtCore.QCoreApplication.translate("U", "综合评价:")), 0, 0) - msgWidgetLayout.addLayout(starLayout, 0, 1) - msgWidgetLayout.addWidget(QtWidgets.QLabel(tipsInfo), 1, 0, 1, 2) + msgWidgetLayout.addWidget(QtWidgets.QLabel(QtCore.QCoreApplication.translate("U", "综合评价:")), 0, 0, 2, 1) + msgWidgetLayout.addLayout(starLayout, 0, 1, 2, 1) + msgWidgetLayout.addWidget(QtWidgets.QLabel(tipsInfo), 0, 2) #msgWidgetLayout.addWidget(QtWidgets.QLabel("" if dateVersion == "" else f"数据版本:{dateVersion}"), 2, 0, 1, 2) - msgWidgetLayout.addWidget(uploadButton, 3, 0, 1, 2) + msgWidgetLayout.addWidget(uploadButton, 1, 2) end = 5 if maxHead > 5: for i in range(end): @@ -265,12 +291,136 @@ class ProgramRunStatusShow(): head = maxHead for i in range(head, end): starLayout.addWidget(QtWidgets.QLabel(f"")) + pingLun = QtWidgets.QWidget() + msgWidgetLayout.addWidget(pingLun, 4, 0, 1, 3) + pingLunLayout = QtWidgets.QGridLayout() + pingLunInfo = QtWidgets.QTextEdit() + #pingLunInfo.document().setMaximumBlockCount(5) + uploadButton = QtWidgets.QPushButton("评论") + pingLunLayout.addWidget(pingLunInfo, 0, 0, 1, 3) + pingLunLayout.addWidget(uploadButton, 1, 2) + pingLunInfo.setPlaceholderText("""在此输入评论,须知: +※1、不得含有色情、暴力、侮辱等违法内容 +※2、不得有广告推广等内容 +※3、字数至少 15 字,但不得超过 250 字 +※4、评论内容最多 5 行,且评论内容将会进行审核,意味着评论不会实时生效显示""") + leftButton = QtWidgets.QPushButton("上一页") + rightButton = QtWidgets.QPushButton("下一页") + if maxHead == 0: + #pingLun.setDisabled(True) + pass + else: + # 显示最新的3条评论 + try: + all = int(requests.get(f"https://code.gitlink.org.cn/gfdgd-xi-org/bashpinlun/raw/branch/master/{fileName}/data.txt").text) + now = all - 3 + print(all) + if all < 3: + start = 0 + rightButton.setDisabled(True) + else: + start = all - 3 + uploadList = [] + for i in range(all - 1, start - 1, -1): + print(f"第 {i + 1} 条评论:") + info = requests.get(f"https://code.gitlink.org.cn/gfdgd-xi-org/bashpinlun/raw/branch/master/{fileName}/pf-{i}.txt").text.strip() + print(info) + uploadList.append([f"用户{i + 1}", i + 1, info]) + Add(uploadList) + except: + traceback.print_exc() + try: + ProgramRunStatusShow.pingLunLayout = pingLunLayout + pingLunLayout.addWidget(pinLunLayout, 2, 0, 1, 3) + except: + leftButton.setDisabled(True) + rightButton.setDisabled(True) + leftButton.clicked.connect(Left) + rightButton.clicked.connect(Right) + pingLunLayout.addWidget(leftButton, 3, 0) + pingLunLayout.addWidget(rightButton, 3, 2) + leftButton.setDisabled(True) + pingLun.setLayout(pingLunLayout) msgWidget.setLayout(msgWidgetLayout) + uploadButton.clicked.connect(lambda: ProgramRunStatusShow.Upload(pingLunInfo.toPlainText(), fileName)) ProgramRunStatusShow.msgWindow.setCentralWidget(msgWidget) ProgramRunStatusShow.msgWindow.setWindowIcon(QtGui.QIcon(iconPath)) ProgramRunStatusShow.msgWindow.setWindowTitle(f"脚本“{choose}”运行情况") ProgramRunStatusShow.msgWindow.show() + def Upload(info, name): + print(f"脚本:{name}") + print(f"评论:{info}") + try: + # + res = requests.post(base64.b64decode("aHR0cDovLzEyMC4yNS4xNTMuMTQ0OjMwMjUwL1BpbmdMdW4=").decode("utf-8"), {"PinLun": info, "Version": name}).json() + print(res) + if res["ExitCode"]: + QtWidgets.QMessageBox.critical(ProgramRunStatusShow.msgWindow, "错误", res["Error"]) + return + QtWidgets.QMessageBox.information(ProgramRunStatusShow.msgWindow, "提示", res["Error"]) + except: + traceback.print_exc() + QtWidgets.QMessageBox.critical(ProgramRunStatusShow.msgWindow, "错误", "提交失败") + + +def UpdateFen(): + global now + fileName = "" + # 获取选中项 + try: + choose = ui.searchList.selectionModel().selectedIndexes()[0].data() + except: + QtWidgets.QMessageBox.critical(window, "错误", "您未选择任何配置文件") + return + for i in lists: + print(i) + if i[0] == choose: + fileName = i[1] + break + uploadList = [] + for i in range(now + 2, now - 1, -1): + print(f"第 {i + 1} 条评论:") + info = requests.get(f"https://code.gitlink.org.cn/gfdgd-xi-org/bashpinlun/raw/branch/master/{fileName}/pf-{i}.txt").text.strip() + print(info) + uploadList.append([f"用户{i + 1}", i + 1, info]) + #ProgramRunStatusShow.pingLunLayout.removeItem(ProgramRunStatusShow.pingLunLayout.itemAt(2)) + ProgramRunStatusShow.pingLunLayout.removeWidget(pinLunLayout) + pinLunLayout.hide() + #pinLunLayout. + Add(uploadList) + #l = QtWidgets.QGridLayout() + #l.removeWidget(pinLunLayout) + ProgramRunStatusShow.pingLunLayout.addWidget(pinLunLayout, 2, 0, 1, 3) + +def Left(): + global now + global all + + if now + 6 >= all: + now = all - 3 + leftButton.setDisabled(True) + rightButton.setEnabled(True) + else: + now += 3 + leftButton.setEnabled(True) + rightButton.setEnabled(True) + UpdateFen() + print(all) + print(now) + +def Right(): + global now + if now - 3 < 0: + now = 0 + rightButton.setDisabled(True) + leftButton.setEnabled(True) + else: + now -= 3 + leftButton.setEnabled(True) + rightButton.setEnabled(True) + UpdateFen() + def UploadFen(): global lists # 获取选中项 @@ -401,6 +551,7 @@ if __name__ == "__main__": app = QtWidgets.QApplication(sys.argv) window = QtWidgets.QMainWindow() ui = Ui_MainWindow() + pinLunLayout = QtWidgets.QHBoxLayout() ui.setupUi(window) window.setWindowTitle(f"Wine 运行器 {version}——容器自动配置部署脚本") window.setWindowIcon(QtGui.QIcon(f"{programPath}/deepin-wine-runner.svg")) diff --git a/ConfigLanguareRunner.py b/ConfigLanguareRunner.py index de201a2..c505a74 100755 --- a/ConfigLanguareRunner.py +++ b/ConfigLanguareRunner.py @@ -2,7 +2,7 @@ # 使用系统默认的 python3 运行 ########################################################################################### # 作者:gfdgd xi、为什么您不喜欢熊出没和阿布呢 -# 版本:2.1.0 +# 版本:3.0.1 # 更新时间:2022年10月05日 # 感谢:感谢 wine 以及 deepin-wine 团队,提供了 wine 和 deepin-wine 给大家使用,让我能做这个程序 # 基于 Python3 构建 @@ -14,6 +14,7 @@ import json import random import platform import traceback +import webbrowser import subprocess import PyQt5.QtWidgets as QtWidgets # 读取文本文档 @@ -39,8 +40,8 @@ programEnv = [ ["($PROGRAMPATH)", programPath], ["($VERSION)", version], ["($THANK)", thankText], - ["($MAKER)", "gfdgd xi、为什么您不喜欢熊出没和阿布呢"], - ["($COPYRIGHT)", f"©2020~{time.strftime('%Y')} gfdgd xi、为什么您不喜欢熊出没和阿布呢"], + ["($MAKER)", "RacoonGX 团队,By gfdgd xi、为什么您不喜欢熊出没和阿布呢"], + ["($COPYRIGHT)", f"©2020~{time.strftime('%Y')} RacoonGX 团队,By gfdgd xi、为什么您不喜欢熊出没和阿布呢"], ["($?)", "0"], ["($PLATFORM)", platform.system()], ["($DEBUG)", "1"] @@ -126,7 +127,8 @@ class Command(): "enabledWinebottlecreatelink", "installvb", "installother", - "decompressionbottle" + "decompressionbottle", + "programforum" ] def __init__(self, commandString: str) -> None: @@ -294,7 +296,7 @@ class Command(): def Version(self): print(f"版本:{version}") - print(f"©2020~{time.strftime('%Y')} gfdgd xi、为什么您不喜欢熊出没和阿布呢") + print(f"©2020~{time.strftime('%Y')} RacoonGX 团队,By gfdgd xi、为什么您不喜欢熊出没和阿布呢") return 0 def Pause(self) -> int: @@ -430,6 +432,9 @@ class Command(): import InstallOther return InstallOther.Download(self.wineBottonPath, int(self.command[1]), self.wine) + def ProgramForum(self): + webbrowser.open_new_tab("https://gfdgdxi.flarum.cloud/") + # 可以运行的命令的映射关系 # 可以被使用的命令的映射 commandList = { @@ -473,7 +478,8 @@ class Command(): "enabledWinebottlecreatelink": EnabledWineBottleCreateLink, "installvb": InstallVB, "installother": InstallOther, - "decompressionbottle": DecompressionBottle + "decompressionbottle": DecompressionBottle, + "programforum": ProgramForum } # 参数数列表 @@ -519,7 +525,8 @@ class Command(): "enabledWinebottlecreatelink": [0], "installvb": [1], "installother": [1], - "decompressionbottle": [2] + "decompressionbottle": [2], + "programforum": [0] } windowsUnrun = [ "createbotton", @@ -606,7 +613,7 @@ if __name__ == "__main__": if len(sys.argv) - optionAll < 2: print("Wine 运行器自动配置文件解析器交互环境") print(f"版本:{version}") - print(f"©2020~{time.strftime('%Y')} gfdgd xi、为什么您不喜欢熊出没和阿布呢") + print(f"©2020~{time.strftime('%Y')} RacoonGX 团队,By gfdgd xi、为什么您不喜欢熊出没和阿布呢") print("--------------------------------------------------------------") while True: commandLine = input(">") diff --git a/__pycache__/ConfigLanguareRunner.cpython-37.pyc b/__pycache__/ConfigLanguareRunner.cpython-37.pyc index 17d0b46d781f60275d37f76ebc3a740accfeffb9..0990daf596f9f052d22ac077d2a60f3a157eaad4 100644 GIT binary patch delta 6240 zcmcIo4QyLSa(??B|3%4`NLjy@DC>u!EQ*pXONnGB`twixqbQbR$1iadO1q*c@z47x zTV`p{KHJG9m*niMuf3eDl)9$96lv>Rgxp=*T+=3KQMAPsZBY~;Z~ST-JP9%*Iy>Te1nt>6&E`c_~wzJD`?RY38}PuFucq1R9kZ2-G!={DL3<<|WQZKBPW7214B)$5oeThGX>2drseN_HD< z0ei`uc9rmK;hj}eZO3#&c){O0!2y3cTX#1RURpsxn7V5u5hyrB?bKOuDGcW`4 zReFS0EfMf+^`f>y4Pd!2!o0Ne646^(EA0ZMR6aSTusYTXG#~S2+u+&0q!g5|!kVBpipOL7pYhzj@!h-M{>?8we0AuYxM=Pb6Xv?AL%`s90LNrT#oYxz^U5;} zr7;7rFqu@cB&{qFSo+7#t7!$Mhon`QIqkfbRA$wzme!UCKaez~wKTb;o;RgURGHKG zfwU=WhRsNp)Nw^}S|q14t)|JG%AIL#TsiH8y`yBn8g29*38d6Oz-P^=aU*AqgpDK( zb8Z1Oa^|oB^_*>AI7at{BP?g-ED;G#v79ArOasAZ&Y7^xnPR~x%aO3`r#m=H&hyw< zFge5RASe$QOn3#rq#QXEIo1 znjaB=H|(}gOoU_MT0Zh9x6EtXVLf>#^}~+%AHHvia9Xtabfo@oD8;&x%Or3jK(&5RE)k zRtlYGNr4w`E8?wQkN8p5umvUYrv<5QEaq61-o`oXs;(q=#lh-7-zHfIG^R`*Phi?- zm1`jH_PobMSB=ZI+ViP;w|Jq(N`4_`YR2mtQR)r^6af>7d^v3>m@G_^_`If={BrqT z&0SKwI-#qLT3tE$cTrWBsXmVVHQArb#b=t0hhr;@<>slGxP^$nsXNu0w`p}q6aO`= zrxCgk)@fR!77-Dvf8PJ#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*9yzUp!Jflne@Q1fN&~INrv?{>b#q1V1P$y@N?nyf17h+J%)q96TbP z_Kw@-qH5RF5A;&5ELz(1UXj<=2t}nlLsb{~Ccj{)tp$ zUw*fxn4AN1CBnM(D%|a1W;~sIjU#AmpXg|E2z>&5<#5RXBCXJ{b zUW#I62;~SB2u=hS!X|`Dgert;1UJHF1P_7@L1s$DQ4PWtgc5{W1TO-X173$v58&ij zRXA25-h|MM(1L&`6UtBDj>g!^I;$#gL-POETXn_V|H)e!ru1+%i!w?Xn~ZYRpiIn4 z-c?<)-;H9Bc-`Zj0Aunu2@J4j8R5Zx7U_cv-#N`WWkflr1tbfaxt4RJThT3OhHI9$ z?ffSp9tr)-LUZ! zyIM$}$mvk~)B-*VQb}KA(KrB~2{UJYdLR@$+Y>r1Zz_BqrB++F?Bud*-;0cK@pwn+ zAolZwc`Q6L;}6mP5H$aT$i#?b@m90eH1|=Y$`s(O8(Ycgg#NTYc#8Q9W0U^S1cTOZ z?(`VCf&DKcws#(@u#sG1AoB%X$tmg%o(k2ae^TvN+r_s#YhtTK^iH&Egh+z3{^(=^ zetcoS7#T^nrMq$dVT9udlL!`sDTHZ+AVLUX7U3j96yY?&9Kua&@&kTBGaA-o9Ii_N?k#=GE&jEYBkhOGu|uHNF7)P!!Re}4~$ zve@e-{bGCXg9Z;O_KDYfCu3@TvYlFybRNK`n~H=(TyCvGBtDG9oPo20(XDlZ(V+mH zV9`kOPHaZLY?`><`~`&XBH-mCp$~@rG{OT&z`EtjjKbcUKFsE#{98zb%@(MUhms$));k`7&seK KP6 -Homepage: https://gitee.com/gfdgd-xi/deep-wine-runner +Homepage: https://gitee.com/gfdgd-xi-org/deep-wine-runner Architecture: all Severity: serious Certainty: possible diff --git a/deepin-wine-easy-packager.py b/deepin-wine-easy-packager.py index b9cfd20..342691d 100755 --- a/deepin-wine-easy-packager.py +++ b/deepin-wine-easy-packager.py @@ -433,6 +433,8 @@ class RunThread(QtCore.QThread): self.RunCommand(f"chmod 777 -Rv '{bottlePath}'") # 禁止生成 .desktop 文件 self.RunCommand(f"WINEPREFIX='{bottlePath}' deepin-wine6-stable 'reg' 'add' 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v winemenubuilder.exe '/f'") + # 写入字体 + self.RunCommand(f"WINEPREFIX='{bottlePath}' '{programPath}/AutoShell/command/installfont' 1") # 安装包 self.info.emit("请在运行完安装程序后按下打包器主界面的“安装程序执行完成按钮”以进行下一步操作") global pressCompleteDownload diff --git a/mainwindow.py b/mainwindow.py index b14dcce..576fd9f 100755 --- a/mainwindow.py +++ b/mainwindow.py @@ -2378,7 +2378,7 @@ Qt 版本:{QtCore.qVersion()}

关于 RacoonGX 项目组

-

是由 @gfdgd xi 带头的团队。

+

是由 @gfdgd xi 带头的团队,gfdgd xi开发了UEngine运行器等好用的开源软件。


友谊链接

星火应用商店:https://spark-app.store/
@@ -2386,9 +2386,9 @@ Deepin 官网:https://www.deepin.org
 Deepin 论坛:https://bbs.deepin.org
 论坛:https://gfdgdxi.flarum.cloud/

-

©2020~{time.strftime("%Y")} RacoonGX 项目组

''' +

©2020~{time.strftime("%Y")} RacoonGX 团队,By gfdgd xi、为什么您不喜欢熊出没和阿布呢

''' title = "Wine 运行器 {}".format(version) -#

©2020~{time.strftime("%Y")} RacoonGX 项目组

''' +#

©2020~{time.strftime("%Y")} RacoonGX 团队,By gfdgd xi、为什么您不喜欢熊出没和阿布呢

''' updateThings = "{} 更新内容:\n{}\n更新时间:{}".format(version, updateThingsString, updateTime, time.strftime("%Y")) try: threading.Thread(target=requests.get, args=[parse.unquote(base64.b64decode("aHR0cDovLzEyMC4yNS4xNTMuMTQ0L3NwYXJrLWRlZXBpbi13aW5lLXJ1bm5lci9vcGVuL0luc3RhbGwucGhw").decode("utf-8")) + "?Version=" + version]).start() @@ -2552,7 +2552,7 @@ mainLayout.addWidget(returnText, 0, 1, 2, 1) # 版权 copy = QtWidgets.QLabel(f"""\n程序版本:{version},提示:Wine 无法运行所有的 Windows 程序,如果想要运行更多可执行程序,可以考虑虚拟机和双系统
-©2020~{time.strftime("%Y")} RacoonGX 项目组""") +©2020~{time.strftime("%Y")} RacoonGX 团队,By gfdgd xi、为什么您不喜欢熊出没和阿布呢""") mainLayout.addWidget(copy, 2, 0, 1, 1) # 程序运行