We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c165072 commit 15e72f8Copy full SHA for 15e72f8
1 file changed
package/nuitka_build.py
@@ -107,18 +107,18 @@ def main():
107
else:
108
print(f"警告: 图标文件不存在 {icon_path}")
109
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
119
- print(f"警告: UPX目录不存在 {upx_dir}")
120
121
- print("不使用UPX压缩")
+ # if arrch == "ARM64":
+ # print("UPX不支持当前架构")
+ # else:
+ # if use_upx:
+ # if upx_dir.exists():
+ # cmd.append('--plugin-enable=upx')
+ # cmd.extend(['--upx-binary', str(upx_dir)])
+ # print(f"使用UPX压缩: {upx_dir}")
+ # print(f"警告: UPX目录不存在 {upx_dir}")
+ # print("不使用UPX压缩")
122
# 添加主Python文件
123
cmd.append(str(python_file))
124
0 commit comments