From 248f52d46803ecf1500be300aa739db7b0d54b19 Mon Sep 17 00:00:00 2001 From: Albrecht Lohofener Date: Sun, 14 Feb 2021 14:21:31 +0100 Subject: [PATCH] Add Linux start script --- Linux/TeddyBench | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 Linux/TeddyBench diff --git a/Linux/TeddyBench b/Linux/TeddyBench new file mode 100755 index 0000000..360440e --- /dev/null +++ b/Linux/TeddyBench @@ -0,0 +1,22 @@ +#!/bin/sh + +# check for mono +if ! type "mono" > /dev/null +then + echo "mono could not be found. Please read the README.md for installation instructions." + exit +fi + +# check for ffmpeg +if ! type "ffmpeg" > /dev/null +then + echo "ffmpeg could not be found. Please read the README.md for installation instructions." + exit +fi + +# Some exports to avoid crashes +export MONO_MANAGED_WATCHER=disabled +export MONO_WINFORMS_XIM_STYLE=disabled + +# Start TeddyBench +mono TeddyBench.exe