From 648c1e95db1964c98b73cc801edf12fa4ffcfe7b Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Thu, 30 Jun 2022 11:48:45 +0200 Subject: [PATCH] Add main function to make it easier to call this Contributes to issue CURA-9409. --- packaging/create_appimage.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packaging/create_appimage.py b/packaging/create_appimage.py index e9b3d85fa3..c51bb4ad16 100644 --- a/packaging/create_appimage.py +++ b/packaging/create_appimage.py @@ -57,3 +57,6 @@ def sign_appimage(): result = subprocess.call(command) if result != 0: raise RuntimeError(f"The GPG command returned non-zero: {result}") + +if __name__ == "__main__": + build_appimage()