#!/usr/bin/env bash

LAUNCHER=dotnet

if ! [ -x "$(command -v $LAUNCHER)" ]
then
    echo "$LAUNCHER not found. Renode requires dotnet runtime. Please refer to documentation for installation instructions. Exiting!"
    exit 1
fi

$LAUNCHER /opt/renode/bin/Renode.dll "$@"
