File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 5
5
# Author: xaoyaoo
6
6
# Date: 2023/10/14
7
7
# -------------------------------------------------------------------------------
8
- __version__ = "3.1.26 "
8
+ __version__ = "3.1.27 "
9
9
10
10
import os , json
11
11
Original file line number Diff line number Diff line change @@ -151,9 +151,9 @@ def base64_to_image(base64_string, image_path):
151
151
require_path = os .path .join (os .path .dirname (current_path ), "requirements.txt" ) # requirements.txt 路径
152
152
with open (require_path , "r" , encoding = "utf-8" ) as f :
153
153
hidden_imports = f .read ().splitlines ()
154
- hidden_imports = [i .replace ('-' , '_' ).split ("=" )[0 ] for i in hidden_imports if
154
+ hidden_imports = [i .replace ('-' , '_' ).split ("=" )[0 ]. split ( "~" )[ 0 ] for i in hidden_imports if
155
155
i and i not in ["setuptools" , "wheel" ]] # 去掉setuptools、wheel
156
- hidden_imports += ["pywxdump" , "pywxdump.db" ,"pywxdump.db.__init__.utils" ]
156
+ hidden_imports += ["pywxdump" , "pywxdump.db" , "pywxdump.db.__init__.utils" ]
157
157
158
158
# 获取 ui 文件夹下的所有文件 用于打包
159
159
root_path = os .path .join (package_path , 'pywxdump' )
You can’t perform that action at this time.
0 commit comments