FIXUP: Suggest container runtime per platform

This commit is contained in:
Alex Pyrgiotis 2025-02-06 13:45:35 +02:00
parent 3e7b1edc34
commit a5a7bdfed4
No known key found for this signature in database
GPG key ID: B6C15EBA0357C9AA

View file

@ -31,6 +31,11 @@ DIFFOCI_PATH = (
) )
IMAGE_NAME = "dangerzone.rocks/dangerzone" IMAGE_NAME = "dangerzone.rocks/dangerzone"
if platform.system() in ["Darwin", "Windows"]:
CONTAINER_RUNTIME = "docker"
elif platform.system() == "Linux":
CONTAINER_RUNTIME = "podman"
def run(*args): def run(*args):
"""Simple function that runs a command, validates it, and returns the output""" """Simple function that runs a command, validates it, and returns the output"""