Skip to content

Commit 15e72f8

Browse files
authored
Update nuitka_build.py
1 parent c165072 commit 15e72f8

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

package/nuitka_build.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -107,18 +107,18 @@ def main():
107107
else:
108108
print(f"警告: 图标文件不存在 {icon_path}")
109109

110-
if arrch == "ARM64":
111-
print("UPX不支持当前架构")
112-
else:
113-
if use_upx:
114-
if upx_dir.exists():
115-
cmd.append('--plugin-enable=upx')
116-
cmd.extend(['--upx-binary', str(upx_dir)])
117-
print(f"使用UPX压缩: {upx_dir}")
118-
else:
119-
print(f"警告: UPX目录不存在 {upx_dir}")
120-
else:
121-
print("不使用UPX压缩")
110+
# if arrch == "ARM64":
111+
# print("UPX不支持当前架构")
112+
# else:
113+
# if use_upx:
114+
# if upx_dir.exists():
115+
# cmd.append('--plugin-enable=upx')
116+
# cmd.extend(['--upx-binary', str(upx_dir)])
117+
# print(f"使用UPX压缩: {upx_dir}")
118+
# else:
119+
# print(f"警告: UPX目录不存在 {upx_dir}")
120+
# else:
121+
# print("不使用UPX压缩")
122122
# 添加主Python文件
123123
cmd.append(str(python_file))
124124

0 commit comments

Comments
 (0)