From 763b6887f55ca280f9cb2fff70aaf95bc2bcb672 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sat, 12 Dec 2020 16:14:48 -0500 Subject: [PATCH] Added debug flag. --- audiogame-manager.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index e1ea3b8..c12b057 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -463,6 +463,7 @@ fi # Array of command line arguments declare -A command=( [c]="Check your system for necessary components." + [d]="debug mode, wine will be much more verbose when games are launched with this flag." [h]="This help screen." [i]="Install games." [l:]="launch given game without interactive audiogame-manager menu specified by its wine bottle." @@ -476,6 +477,10 @@ args="${args//[[:space:]]/}" while getopts "${args}" i ; do case "$i" in c) checklist;; + d) + unset WINEDEBUG + game_launcher + ;; h) help;; i) game_installer;; l) game_launcher "${OPTARG}";;