Add includes for apt packages

Based on: https://github.com/AppImageCrafters/appimage-builder/blob/main/recipes/hello-world-qt6/AppImageBuilder.yml

Contributes CURA-10951
This commit is contained in:
Jelle Spijker 2023-09-05 08:37:24 +02:00
parent c29fcd7dce
commit 7eedcac62f
No known key found for this signature in database
GPG key ID: 034D1C0527888B65
2 changed files with 55 additions and 5 deletions

View file

@ -86,8 +86,7 @@ def create_appimage():
def sign_appimage(dist_path, appimage_filename):
appimage_path = os.path.join(dist_path, "..", appimage_filename)
command = ["gpg", "--yes", "--armor", "--detach-sig", appimage_path]
command = ["gpg", "--yes", "--armor", "--detach-sig", appimage_filename]
result = subprocess.call(command)
if result != 0:
raise RuntimeError(f"The GPG command returned non-zero: {result}")