From 7f42b9eaa7680302826dd8b88849fb2fd5a6b6c0 Mon Sep 17 00:00:00 2001 From: SiYuan <863909694@qq.com> Date: Thu, 15 Feb 2024 18:58:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=83=A8=E5=88=86ui?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/ui/tool/pc_decrypt/pc_decrypt.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/ui/tool/pc_decrypt/pc_decrypt.py b/app/ui/tool/pc_decrypt/pc_decrypt.py index 4c33612..11afd17 100644 --- a/app/ui/tool/pc_decrypt/pc_decrypt.py +++ b/app/ui/tool/pc_decrypt/pc_decrypt.py @@ -229,6 +229,16 @@ class DecryptThread(QThread): # print(inpath) output_path = os.path.join(output_dir, file) tasks.append([self.key, inpath, output_path]) + else: + try: + name,suffix = file.split('.') + if suffix.startswith('db_SQLITE'): + inpath = os.path.join(root, file) + # print(inpath) + output_path = os.path.join(output_dir, name+'.db') + tasks.append([self.key, inpath, output_path]) + except: + continue self.maxNumSignal.emit(len(tasks)) for i, task in enumerate(tasks): if decrypt.decrypt(*task) == -1: