From e0cdfcb2ed751c6bcae50ba4b669dd7eee06f5a3 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 19 Feb 2021 12:58:11 -0500 Subject: [PATCH] Updated donation options. --- audiogame-manager.sh | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 34df42f..e14e5b0 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -309,7 +309,7 @@ game_installer() { echo "All games are already installed." exit 0 fi - menuList+=("Make a One Time Donation" "Make a One Time Donation") + menuList+=("Donate" "Donate") menuList+=("Become a Patron" "Become a Patron") game="$(dialog --backtitle "Audio Game Installer" \ --clear \ @@ -329,15 +329,15 @@ game_removal() { for i in "${lines[@]}" ; do menuList+=("${i%|*}" "${i##*|}") done - menuList+=("Make a One Time Donation" "Make a One Time Donation") + menuList+=("Donate" "Donate") menuList+=("Become a Patron" "Become a Patron") local game="$(dialog --backtitle "Audio Game Removal" \ --clear \ --no-tags \ --menu "Please select a game to delete" 0 0 0 "${menuList[@]}" --stdout)" if [[ ${#game} -gt 0 ]]; then - if [[ "$game" == "Make a One Time Donation" ]]; then - open_url "https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=stormdragon2976@gmail.com&lc=US&item_name=Donation+to+Storm+Games&no_note=0&cn=¤cy_code=USD&bn=PP-DonationsBF:btn_donateCC_LG.gif:NonHosted" + if [[ "$game" == "Donate" ]]; then + open_url "https://ko-fi.com/stormux" exit 0 fi if [[ "$game" == "Become a Patron" ]]; then @@ -372,15 +372,15 @@ kill_game() { for i in "${lines[@]}" ; do menuList+=("${i%|*}" "${i##*|}") done - menuList+=("Make a One Time Donation" "Make a One Time Donation") + menuList+=("Donate" "Donate") menuList+=("Become a Patron" "Become a Patron") local game="$(dialog --backtitle "Audio Game Killer" \ --clear \ --no-tags \ --menu "Please select a game to force stop" 0 0 0 "${menuList[@]}" --stdout)" if [[ ${#game} -gt 0 ]]; then - if [[ "$game" == "Make a One Time Donation" ]]; then - open_url "https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=stormdragon2976@gmail.com&lc=US&item_name=Donation+to+Storm+Games&no_note=0&cn=¤cy_code=USD&bn=PP-DonationsBF:btn_donateCC_LG.gif:NonHosted" + if [[ "$game" == "Donate" ]]; then + open_url "https://ko-fi.com/stormux" exit 0 fi if [[ "$game" == "Become a Patron" ]]; then @@ -412,7 +412,7 @@ game_launcher() { for i in "${lines[@]}" ; do menuList+=("${i%|*}" "${i##*|}") done - menuList+=("Make a One Time Donation" "Make a One Time Donation") + menuList+=("Donate" "Donate") menuList+=("Become a Patron" "Become a Patron") local game="$(dialog --backtitle "Audio Game Launcher" \ --clear \ @@ -427,8 +427,8 @@ game_launcher() { fi fi if [[ ${#game} -gt 0 ]]; then - if [[ "$game" == "Make a One Time Donation" ]]; then - open_url "https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=stormdragon2976@gmail.com&lc=US&item_name=Donation+to+Storm+Games&no_note=0&cn=¤cy_code=USD&bn=PP-DonationsBF:btn_donateCC_LG.gif:NonHosted" + if [[ "$game" == "Donate" ]]; then + open_url "https://ko-fi.com/stormux" exit 0 fi if [[ "$game" == "Become a Patron" ]]; then @@ -1244,8 +1244,8 @@ EOF 7z e -o"$WINEPREFIX/drive_c/Program Files/World of War" "${cache}/world of war English.7z" #add_launcher "c:\Program Files\" ;; - "Make a One Time Donation") - open_url "https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=stormdragon2976@gmail.com&lc=US&item_name=Donation+to+Storm+Games&no_note=0&cn=¤cy_code=USD&bn=PP-DonationsBF:btn_donateCC_LG.gif:NonHosted" + "Donate") + open_url "https://ko-fi.com/stormux" ;; "Become a Patron") open_url "https://patreon.com/stormux"