mirror of
				https://github.com/the-sane/lug-helper.git
				synced 2025-10-31 09:22:51 +00:00 
			
		
		
		
	add debug
This commit is contained in:
		| @@ -62,6 +62,11 @@ message() { | |||||||
|             read -n 1 -s -p "Press any key..." |             read -n 1 -s -p "Press any key..." | ||||||
|         fi |         fi | ||||||
|  |  | ||||||
|  | 	# DEBUG | ||||||
|  | 	echo "DEBUG ARGUMENTS:" | ||||||
|  | 	echo "$margs$2" | ||||||
|  | 	echo -e "\n" | ||||||
|  | 	 | ||||||
|         # Display the message |         # Display the message | ||||||
| 	zenity "$margs$2" --icon-name='lutris' --width="400" --title="Star Citizen LUG Helper Script" | 	zenity "$margs$2" --icon-name='lutris' --width="400" --title="Star Citizen LUG Helper Script" | ||||||
|     else |     else | ||||||
| @@ -274,13 +279,15 @@ fi | |||||||
| if [ "$has_zen" -eq 1 ]; then | if [ "$has_zen" -eq 1 ]; then | ||||||
|     check="Check my system settings for optimal performance" |     check="Check my system settings for optimal performance" | ||||||
|     clean="Delete my USER folder and preserve my keybinds" |     clean="Delete my USER folder and preserve my keybinds" | ||||||
|     options="$(message 5 "TRUE $check \ FALSE $clean")" |     arg2="\"TRUE\" \"$check\" \ \"FALSE\" \"$clean\"" | ||||||
|  | #    message 5 "TRUE $check \ FALSE $clean" | ||||||
|     case "$options" in |     message 5 "$arg2" | ||||||
| 	"$check") |     choice="$?" | ||||||
|  |     case "$choice" in | ||||||
|  | 	"check") | ||||||
| 	    set_map_count | 	    set_map_count | ||||||
| 	    ;; | 	    ;; | ||||||
| 	"$clean") | 	"clean") | ||||||
| 	    sanitize | 	    sanitize | ||||||
| 	    ;; | 	    ;; | ||||||
| 	*) | 	*) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user