支持换源

This commit is contained in:
2022-11-05 08:50:19 +08:00
parent befcbf0520
commit 7b20666c87
3 changed files with 11 additions and 3 deletions

View File

@@ -1295,7 +1295,7 @@ Description: {e3_text.text()}
################
if not self.build:
self.label.emit("正在构建 deb 包……")
self.run_command("bash -c 'dpkg -b {} {}'".format(debPackagePath, e12_text.text()))
self.run_command("bash -c 'dpkg -b \"{}\" \"{}\"'".format(debPackagePath, e12_text.text()))
################
# 完成构建
################