#!/bin/bash

if ! [[ $(ls "/media/$USER" | grep "XPLANE") ]]; then
  gnome-disk-image-mounter "nodvd.iso"
fi
"/home/$USER/X-Plane 10/X-Plane-x86_64" > /dev/null 2>&1 &
