Skip to content

Commit

Permalink
修复打包,未将资源打包进去
Browse files Browse the repository at this point in the history
  • Loading branch information
xaoyaoo committed Jan 4, 2024
1 parent fc256aa commit 7443b16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/build_exe.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def base64_to_image(base64_string, image_path):
file_path = os.path.join(root, file)
datas_741258.append(f'''(r'{file_path}', r'{os.path.dirname(file_path.replace(package_path, "")[1:])}' )''')
datas_741258 = ",\n".join(datas_741258)
print(datas_741258)
# print(datas_741258)
# 生成 spec 文件
spec_content = spec_content.format(root_path=root_path, hidden_imports=hidden_imports, datas_741258=datas_741258)
spec_file = os.path.join("dist", "pywxdump.spec")
Expand Down

0 comments on commit 7443b16

Please sign in to comment.