Skip to content

Commit 7cf4b0e

Browse files
committed
* 解决打包一个完成的包,exclude_files不生效的bug
1 parent e71d904 commit 7cf4b0e

2 files changed

Lines changed: 13 additions & 4 deletions

File tree

CONTRIBUTING.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
### 更新日志
22

3+
#### JadeV2.0.7 - 2023-07-19
4+
* 解决打包一个完成的包,exclude_files不生效的bug
5+
---
6+
7+
<details onclose>
8+
<summary>查看更多更新日志</summary>
9+
310
#### JadeV2.0.6 - 2023-07-19
411
* 新增exclude_files参数,去除打包时不必要的动态库
512
* 解决如果为空,打包失败的bug
613
---
714

815

9-
<details onclose>
10-
<summary>查看更多更新日志</summary>
11-
1216
#### JadeV2.0.5 - 2023-06-14
1317
* 兼容加密狗feature id list为None的情况
1418
---

jade/jade_packing.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,7 @@ def writeSpec(args):
528528
" win_private_assemblies=False,\n"
529529
" cipher=block_cipher,\n"
530530
" noarchive=False)\n"
531+
"{}"
531532
"pyz = PYZ(a.pure, a.zipped_data,\n"
532533
" cipher=block_cipher)\n"
533534
"exe1 = EXE(pyz,\n"
@@ -546,7 +547,11 @@ def writeSpec(args):
546547
" console={},\n"
547548
" icon='{}',\n"
548549
" version='file_verison_info.txt')\n"
549-
.format(get_app_name(args), binaries_str, data_str, get_app_name(args), args.console,
550+
.format(get_app_name(args),
551+
binaries_str,
552+
data_str,
553+
exclude_files_str,
554+
get_app_name(args), args.console,
550555
icon_path).encode(
551556
"utf-8"))
552557

0 commit comments

Comments
 (0)