From b025cb00956395237d234cab049876bdfc5a6002 Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Sat, 14 Jan 2023 14:10:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AE=BA=E5=9D=9B=E5=9C=B0?= =?UTF-8?q?=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ProgramFen.py | 8 ++++---- __pycache__/updatekiller.cpython-37.pyc | Bin 0 -> 868 bytes mainwindow.py | 2 +- uengine-runner-update-bug | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 __pycache__/updatekiller.cpython-37.pyc diff --git a/ProgramFen.py b/ProgramFen.py index 0c432c9..f583d3f 100755 --- a/ProgramFen.py +++ b/ProgramFen.py @@ -3,7 +3,7 @@ import os import sys import base64 import traceback -import req as requests +import requests import PyQt5.QtGui as QtGui import PyQt5.QtCore as QtCore import PyQt5.QtWidgets as QtWidgets @@ -14,7 +14,7 @@ class ProgramRunStatusShow(): try: fenlists = [] for i in range(6): - fenlists.append(int(requests.get(base64.b64decode("aHR0cHM6Ly9jb2RlLmdpdGxpbmsub3JnLmNuL2dmZGdkLXhpLW9yZy93aW5lLXJ1bm5lci1kb3dubG9hZHMtb2YtcnVubmVyL3Jhdy9icmFuY2gvbWFzdGVyL0Zlbi9GZW4=").decode("utf-8") + f"{i}.txt").text)) + fenlists.append(int(requests.get(base64.b64decode("aHR0cHM6Ly9jb2RlLmdpdGxpbmsub3JnLmNuL2dmZGdkLXhpLW9yZy93aW5lLXJ1bm5lci1kb3dubG9hZHMtb2YtcnVubmVyL3Jhdy9icmFuY2gvbWFzdGVyL0Zlbi1VRW5naW5lL0Zlbg==").decode("utf-8") + f"{i}-UEngine.txt").text)) tipsInfo = "" except: traceback.print_exc() @@ -26,7 +26,7 @@ class ProgramRunStatusShow(): for i in fenlists: allNumber += i try: - tipsInfo = "" + #tipsInfo = "" for i in range(len(fenlists)): tipsInfo += f"有 {fenlists[i] / allNumber * 100}% 的用户选择了 {i} 分({fenlists[i]}/{allNumber})\n" maxNumber = max(fenlists) / allNumber * 100 @@ -108,7 +108,7 @@ class ProgramRunStatusUpload(): def Upload(): try: - QtWidgets.QMessageBox.information(ProgramRunStatusUpload.msgWindow, QtCore.QCoreApplication.translate("U", "提示"), requests.get(f"http://120.25.153.144/spark-deepin-wine-runner/Install.php?Version=Fen{ProgramRunStatusUpload.fen.currentIndex()}").json()["Error"]) + QtWidgets.QMessageBox.information(ProgramRunStatusUpload.msgWindow, QtCore.QCoreApplication.translate("U", "提示"), requests.get(f"http://120.25.153.144/spark-deepin-wine-runner/Install.php?Version=Fen{ProgramRunStatusUpload.fen.currentIndex()}-UEngine").json()["Error"]) except: traceback.print_exc() QtWidgets.QMessageBox.critical(ProgramRunStatusUpload.msgWindow, QtCore.QCoreApplication.translate("U", "错误"), QtCore.QCoreApplication.translate("U", "数据上传失败!")) diff --git a/__pycache__/updatekiller.cpython-37.pyc b/__pycache__/updatekiller.cpython-37.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1e81aadcf7eb96fed47515bd66997a82d2a62a27 GIT binary patch literal 868 zcmZ8f!EVz)5S>{&w&NzDih}wLL87?;2ZSmFEuyHZN;$MxLQ&M6rY4S^?rz!!rKgl5 z>MtZmK7t?FE2sVfCuVI?5IdUL9q;Vhw{QHa*^Gh5*^?h9Up;`IF8MR+ym-m3FE~h$ zm_bs_m|&TUL`ac%BtHAnll~1XFsaF!3~nF^D3swysJ8^mh=K*I5Fvj=xU8=riD`{I z87;(ZJ84jpVrt0xH-T`(_q>NgIOh2SbmKd|8}`3!^vrnDn^HbZb9$_%c}{9`lFAde z?S^1?gkQ7kLk4RctE6z>7?q@1Pn?_t(?jSuv*G@Kg?E|0?ZmlOCDk|2Oxh6FD$6O0&!fFtc%WU7x|+ z^L5!y5o4RJfvUyd?lnSA?lpSH$<^~prEU1Mc@49U5l)vmw^8D%Y{q%)gQ<;T^$fw; zM>vm<*^hv015>J0Y9sdV9x!4zR6b9t#=(k0Ti;Q&UYZ-*K2XI8X}wnzqv>QvsY0pH zok5FfDMA&R?yNr^q#0b7Cw84-JtEikp)g#s%PHm!?{6F*@A60UUUW^Ml&1lR0 Ve7eISLN?)ht$I|Cu;oSEgWnv`%Y^^{ literal 0 HcmV?d00001 diff --git a/mainwindow.py b/mainwindow.py index 7b16472..124f4a9 100755 --- a/mainwindow.py +++ b/mainwindow.py @@ -1959,7 +1959,7 @@ hm1_1.triggered.connect(lambda: webbrowser.open_new_tab("https://gitee.com/gfdgd helpOpenProgramUrl.triggered.connect(OpenProgramURL) uengineRunnerSearch.triggered.connect(lambda: webbrowser.open_new_tab("https://gfdgd-xi.github.io/uengine-runner-info/")) makerWebsize.triggered.connect(lambda: webbrowser.open_new_tab("https://gfdgd-xi.github.io")) -helpForum.triggered.connect(lambda: webbrowser.open_new_tab("https://gfdgdxi.flarum.cloud/")) +helpForum.triggered.connect(lambda: webbrowser.open_new_tab("https://bbs.racoongx.cn/")) helpUengineRunnerBugUpload.triggered.connect(UengineRunnerBugUpload) helpShowHelp.triggered.connect(ShowHelp) helpRunnerUpdate.triggered.connect(UpdateWindow.ShowWindow) diff --git a/uengine-runner-update-bug b/uengine-runner-update-bug index 544d66c..a975ab9 100755 --- a/uengine-runner-update-bug +++ b/uengine-runner-update-bug @@ -51,7 +51,7 @@ def OpenGitlinkIssues(): webbrowser.open_new_tab("https://www.gitlink.org.cn/gfdgd_xi/uengine-runner/issues") def OpenProgramForum(): - webbrowser.open_new_tab("https://gfdgdxi.flarum.cloud/t/bugs") + webbrowser.open_new_tab("https://bbs.racoongx.cn/t/bugs") # 获取用户主目录 def get_home()->"获取用户主目录":