Updated donation options.
This commit is contained in:
parent
ddcc7eb091
commit
e0cdfcb2ed
@ -309,7 +309,7 @@ game_installer() {
|
|||||||
echo "All games are already installed."
|
echo "All games are already installed."
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
menuList+=("Make a One Time Donation" "Make a One Time Donation")
|
menuList+=("Donate" "Donate")
|
||||||
menuList+=("Become a Patron" "Become a Patron")
|
menuList+=("Become a Patron" "Become a Patron")
|
||||||
game="$(dialog --backtitle "Audio Game Installer" \
|
game="$(dialog --backtitle "Audio Game Installer" \
|
||||||
--clear \
|
--clear \
|
||||||
@ -329,15 +329,15 @@ game_removal() {
|
|||||||
for i in "${lines[@]}" ; do
|
for i in "${lines[@]}" ; do
|
||||||
menuList+=("${i%|*}" "${i##*|}")
|
menuList+=("${i%|*}" "${i##*|}")
|
||||||
done
|
done
|
||||||
menuList+=("Make a One Time Donation" "Make a One Time Donation")
|
menuList+=("Donate" "Donate")
|
||||||
menuList+=("Become a Patron" "Become a Patron")
|
menuList+=("Become a Patron" "Become a Patron")
|
||||||
local game="$(dialog --backtitle "Audio Game Removal" \
|
local game="$(dialog --backtitle "Audio Game Removal" \
|
||||||
--clear \
|
--clear \
|
||||||
--no-tags \
|
--no-tags \
|
||||||
--menu "Please select a game to delete" 0 0 0 "${menuList[@]}" --stdout)"
|
--menu "Please select a game to delete" 0 0 0 "${menuList[@]}" --stdout)"
|
||||||
if [[ ${#game} -gt 0 ]]; then
|
if [[ ${#game} -gt 0 ]]; then
|
||||||
if [[ "$game" == "Make a One Time Donation" ]]; then
|
if [[ "$game" == "Donate" ]]; 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"
|
open_url "https://ko-fi.com/stormux"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
if [[ "$game" == "Become a Patron" ]]; then
|
if [[ "$game" == "Become a Patron" ]]; then
|
||||||
@ -372,15 +372,15 @@ kill_game() {
|
|||||||
for i in "${lines[@]}" ; do
|
for i in "${lines[@]}" ; do
|
||||||
menuList+=("${i%|*}" "${i##*|}")
|
menuList+=("${i%|*}" "${i##*|}")
|
||||||
done
|
done
|
||||||
menuList+=("Make a One Time Donation" "Make a One Time Donation")
|
menuList+=("Donate" "Donate")
|
||||||
menuList+=("Become a Patron" "Become a Patron")
|
menuList+=("Become a Patron" "Become a Patron")
|
||||||
local game="$(dialog --backtitle "Audio Game Killer" \
|
local game="$(dialog --backtitle "Audio Game Killer" \
|
||||||
--clear \
|
--clear \
|
||||||
--no-tags \
|
--no-tags \
|
||||||
--menu "Please select a game to force stop" 0 0 0 "${menuList[@]}" --stdout)"
|
--menu "Please select a game to force stop" 0 0 0 "${menuList[@]}" --stdout)"
|
||||||
if [[ ${#game} -gt 0 ]]; then
|
if [[ ${#game} -gt 0 ]]; then
|
||||||
if [[ "$game" == "Make a One Time Donation" ]]; then
|
if [[ "$game" == "Donate" ]]; 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"
|
open_url "https://ko-fi.com/stormux"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
if [[ "$game" == "Become a Patron" ]]; then
|
if [[ "$game" == "Become a Patron" ]]; then
|
||||||
@ -412,7 +412,7 @@ game_launcher() {
|
|||||||
for i in "${lines[@]}" ; do
|
for i in "${lines[@]}" ; do
|
||||||
menuList+=("${i%|*}" "${i##*|}")
|
menuList+=("${i%|*}" "${i##*|}")
|
||||||
done
|
done
|
||||||
menuList+=("Make a One Time Donation" "Make a One Time Donation")
|
menuList+=("Donate" "Donate")
|
||||||
menuList+=("Become a Patron" "Become a Patron")
|
menuList+=("Become a Patron" "Become a Patron")
|
||||||
local game="$(dialog --backtitle "Audio Game Launcher" \
|
local game="$(dialog --backtitle "Audio Game Launcher" \
|
||||||
--clear \
|
--clear \
|
||||||
@ -427,8 +427,8 @@ game_launcher() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [[ ${#game} -gt 0 ]]; then
|
if [[ ${#game} -gt 0 ]]; then
|
||||||
if [[ "$game" == "Make a One Time Donation" ]]; then
|
if [[ "$game" == "Donate" ]]; 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"
|
open_url "https://ko-fi.com/stormux"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
if [[ "$game" == "Become a Patron" ]]; then
|
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"
|
7z e -o"$WINEPREFIX/drive_c/Program Files/World of War" "${cache}/world of war English.7z"
|
||||||
#add_launcher "c:\Program Files\"
|
#add_launcher "c:\Program Files\"
|
||||||
;;
|
;;
|
||||||
"Make a One Time Donation")
|
"Donate")
|
||||||
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"
|
open_url "https://ko-fi.com/stormux"
|
||||||
;;
|
;;
|
||||||
"Become a Patron")
|
"Become a Patron")
|
||||||
open_url "https://patreon.com/stormux"
|
open_url "https://patreon.com/stormux"
|
||||||
|
Loading…
Reference in New Issue
Block a user