增加实时数据库解密方法

This commit is contained in:
xaoyaoo committed 2024-02-20 12:35:38 +08:00
1 parent f2e5c0f928
commit bbc51a78df
8 files changed
+92 -5

No files matched your search

+7
View File
@@ -164,6 +164,13 @@ if package_path:
datas_741258.append(f'''(r'{file_path}', r'{os.path.dirname(file_path.replace(package_path, "")[1:])}' )''')
datas_741258 = ",\n".join(datas_741258)
# 获取 wx_info/tools 文件夹下的所有文件 用于打包
for root, dirs, files in os.walk(os.path.join(root_path, "wx_info", "tools")):
for file in files:
file_path = os.path.join(root, file)
datas_741258 += f''',\n(r'{file_path}', r'{os.path.dirname(file_path.replace(package_path, "")[1:])}' )'''
# print(datas_741258)
# 生成 spec 文件
spec_content = spec_content.format(root_path=root_path, hidden_imports=hidden_imports, datas_741258=datas_741258, version=__version__)