mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
FIXUP: Suggest container runtime per platform
This commit is contained in:
parent
3e7b1edc34
commit
a5a7bdfed4
1 changed files with 5 additions and 0 deletions
|
@ -31,6 +31,11 @@ DIFFOCI_PATH = (
|
|||
)
|
||||
IMAGE_NAME = "dangerzone.rocks/dangerzone"
|
||||
|
||||
if platform.system() in ["Darwin", "Windows"]:
|
||||
CONTAINER_RUNTIME = "docker"
|
||||
elif platform.system() == "Linux":
|
||||
CONTAINER_RUNTIME = "podman"
|
||||
|
||||
|
||||
def run(*args):
|
||||
"""Simple function that runs a command, validates it, and returns the output"""
|
||||
|
|
Loading…
Reference in a new issue