From a5104f8d03a6a58370606cfba851bfaf5c999c95 Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Wed, 18 Jan 2023 13:43:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=87=E9=A2=98=E7=89=B9=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mainwindow.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mainwindow.py b/mainwindow.py index 9eccb25..40166f8 100755 --- a/mainwindow.py +++ b/mainwindow.py @@ -2076,4 +2076,7 @@ window.setFixedSize(window.frameSize().width(), window.frameSize().height()) if datetime.datetime.now().year == 2023 and datetime.datetime.now().month == 1 and datetime.datetime.now().day == 22 and not os.path.exists(f"{get_home()}/.config/uengine-runner/2023-sf.lock"): os.system(f"touch '{get_home()}/.config/uengine-runner/2023-sf.lock'") QtWidgets.QMessageBox.information(window, "祝福", "今天是癸卯年正月初一,这里代表 RacoonGX 团队祝您在新的一年里万事顺意、幸福美满、官运亨通、美梦连连、吉祥如意、万事顺利、荣华富贵、一帆风顺、金玉满堂、五福临门、龙凤呈祥、龙门精神、百业兴旺、六畜兴旺、五谷丰登、喜上眉梢!") +if version == "2.0.0": + title += " 新春版" + window.setWindowTitle(title) sys.exit(app.exec_())