diff --git a/handlers/modorganizer2-nxm-broker.sh b/handlers/modorganizer2-nxm-broker.sh index 36f21bc..89de091 100755 --- a/handlers/modorganizer2-nxm-broker.sh +++ b/handlers/modorganizer2-nxm-broker.sh @@ -17,7 +17,7 @@ instance_dir=$(readlink -f "$instance_link") if [ ! -d "$instance_dir" ]; then [ -L "$instance_link"] && rm "$instance_link" - zenity --ok-label=Exit --ellipsize --error --text \ + zenity --ok-label=Exit --error --text \ "Could not download file because there is no Mod Organizer 2 instance for '$nexus_game_id'" exit 1 fi @@ -39,7 +39,7 @@ else fi if [ "$download_start_status" != "0" ]; then - zenity --ok-label=Exit --ellipsize --error --text \ + zenity --ok-label=Exit --error --text \ "Failed to start download:\n\n$download_start_output" exit 1 fi diff --git a/step/clean_game_prefix.sh b/step/clean_game_prefix.sh index c79a9ef..cd67b46 100644 --- a/step/clean_game_prefix.sh +++ b/step/clean_game_prefix.sh @@ -2,11 +2,9 @@ confirm_cleaning_text=$( \ cat << EOF -It is highly recommended to clean your current game prefix -before starting the installation process. +It is highly recommended to clean your current game prefix before starting the installation process. -Would you like to archive your current game prefix and -create a new one? +Would you like to archive your current game prefix and create a new one? EOF ) diff --git a/utils/dialog.sh b/utils/dialog.sh index 585a08f..e27b32a 100755 --- a/utils/dialog.sh +++ b/utils/dialog.sh @@ -8,22 +8,22 @@ if [ -z "$(command -v zenity)" ]; then fi errorbox() { - zenity --ok-label=Exit --ellipsize --error --text "$1" + zenity --ok-label=Exit --error --text "$1" return 0 } infobox() { - zenity --ok-label=Continue --ellipsize --info --text "$1" + zenity --ok-label=Continue --info --text "$1" return 0 } warnbox() { - zenity --ok-label=Continue --ellipsize --warning --text "$1" + zenity --ok-label=Continue --warning --text "$1" return 0 } question() { - zenity --question --ellipsize --text="$1" >/dev/null + zenity --question --text="$1" >/dev/null echo "$?" return 0 }