diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 1c9d766..6d13658 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -1146,6 +1146,7 @@ add_launcher() { fi } +trap "exit 0" SIGINT # Check for updates update # If display isn't set assume we are launching from console and an X environment is running using display :0 @@ -1272,9 +1273,8 @@ while getopts "${args}" i ; do esac done -# Install game based on the selection above. -# make sure wine is actually set to something -export wine="${wine:-/usr/bin/wine}" +[[ ${#game} -lt 1 ]] && exit 0 + [[ "$agmNoLaunch" != "true" ]] && winetricks sandbox [[ "$agmNoLaunch" != "true" ]] && exit 0