修改dpkg-deb参数以减少打包时间

This commit is contained in:
2024-05-05 11:38:52 +08:00
parent 840fb73ba8
commit 44514dfc78
3 changed files with 3 additions and 3 deletions

View File

@@ -1651,7 +1651,7 @@ StartupNotify=false
################
if not self.build:
self.label.emit("正在构建 deb 包……")
self.run_command("bash -c 'dpkg-deb -Z xz -b \"{}\" \"{}\"'".format(debPackagePath, e12_text.text()))
self.run_command("bash -c 'dpkg-deb -Z xz -z 0 -b \"{}\" \"{}\"'".format(debPackagePath, e12_text.text()))
################
# 删除临时文件
################