From d75749787640a7bface8e0f02e4ece6fe7734936 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 21 Sep 2022 13:42:39 -0400 Subject: [PATCH] Added help option to the menu. Updated my wine build script. --- fishin_time.py | 4 +++- tools/winebuild.sh | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/fishin_time.py b/fishin_time.py index 4af5d0f..36e0efe 100755 --- a/fishin_time.py +++ b/fishin_time.py @@ -16,7 +16,7 @@ import sys import time -menu = menu.Menu("Fishin' Time Menu", ["Play", "Donate", "Exit"]) +menu = menu.Menu("Fishin' Time Menu", ["Play", "Donate", "Help", "Exit"]) # pyglet setup @@ -224,6 +224,8 @@ def show_menu(key, modifier, sns, window): speech.speak(window, sns.speechHistory[-1]) if action == "Donate": link_manager.open_uri("https://paypal.me/justabuckhelps?country.x=RO&locale.x=en_US") + if action == "Help": + link_manager.open_uri("https://git.2mb.codes/~stormdragon2976/fishin_time#its-fishin-time") if action == "Exit": pyglet.app.exit() diff --git a/tools/winebuild.sh b/tools/winebuild.sh index d16f6f6..d03d0c4 100755 --- a/tools/winebuild.sh +++ b/tools/winebuild.sh @@ -3,5 +3,8 @@ # Don't want to lose this now that it's working! WINEPREFIX=~/.local/wine/python wine pyinstaller --clean --onefile --add-data 'dist/libogg.dll;./libogg.dll' --add-data 'dist/opus.dll;./opus.dll' --add-data 'dist/opusenc.dll;./opusenc.dll' --add-data 'dist/opusfile.dll;./opusfile.dll' --add-binary 'dist/opusdec.exe;./opusdec.exe' fishin_time.py +cp -r sounds/ dist/ +cp fish.ini dist/ +cp LICENSE dist/LICENSE.txt exit 0 -- 2.45.2