From 79d3ae75410a4da3ffe0542527b7cfa84f07249a Mon Sep 17 00:00:00 2001 From: caoqianming Date: Thu, 21 Sep 2023 17:15:12 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9wcplus=E8=BF=9B?= =?UTF-8?q?=E7=A8=8B=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- start.py | 6 +++--- wechat.exe => wcplus.exe | Bin 2 files changed, 3 insertions(+), 3 deletions(-) rename wechat.exe => wcplus.exe (100%) diff --git a/start.py b/start.py index 9a6d22c..07511a5 100644 --- a/start.py +++ b/start.py @@ -134,7 +134,7 @@ class MainWindow(QMainWindow): def open_wcplus(self): if self.wcplus is False: - subprocess.Popen('.\wechat.exe') + subprocess.Popen('.\wcplus.exe') self.wcplus = True def open_websites_xlsx(self): @@ -211,9 +211,9 @@ class MainWindow(QMainWindow): def closeEvent(self, event): if self.wcplus: try: - subprocess.Popen(['taskkill', '/F', '/IM', 'wechat.exe']) + subprocess.Popen(['taskkill', '/F', '/IM', 'wcplus.exe']) except Exception as e: - print(f"Error while terminating WeChat.exe: {str(e)}") + print(f"Error while terminating wcplus.exe: {str(e)}") self.wcplus = False if self.worker_thread: self.worker_thread.close() diff --git a/wechat.exe b/wcplus.exe similarity index 100% rename from wechat.exe rename to wcplus.exe