适配debian testing的7z以修复打包时会把/打入.7z包导致死机的问题

This commit is contained in:
2024-07-17 21:16:36 +08:00
parent e109502c34
commit 15946ccb4e
3 changed files with 7 additions and 7 deletions

View File

@@ -589,7 +589,7 @@ class RunThread(QtCore.QThread):
self.RunCommand(f"rm -fv '{bottlePath}/drive_c/users/@current_user@/Downloads'")
self.RunCommand(f"rm -fv '{bottlePath}/drive_c/users/@current_user@/Templates'")
########### 打包容器
self.RunCommand(f"7z a '{bottlePackagePath}' '{bottlePath}/'*")
self.RunCommand(f"7z a -snh -snl '{bottlePackagePath}' '{bottlePath}/'*")
########### 生成文件内容
buildProgramSize = getFileFolderSize(debBuildPath) / 1000
replaceMap = [