修复问题 dpkg在打包时候包时报 无效的压缩参数 z 16 https://gitee.com/gfdgd-xi/deep-wine-runner/issues/I7SMTJ

This commit is contained in:
2023-08-13 21:10:04 +08:00
parent a1b2915e3a
commit 5fb2bdf5f9
2 changed files with 2 additions and 2 deletions

View File

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