~stormdragon2976/fishin_time

d75749787640a7bface8e0f02e4ece6fe7734936 — Storm Dragon 2 years ago d91c346
Added help option to the menu. Updated my wine build script.
2 files changed, 6 insertions(+), 1 deletions(-)

M fishin_time.py
M tools/winebuild.sh
M fishin_time.py => fishin_time.py +3 -1
@@ 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()


M tools/winebuild.sh => tools/winebuild.sh +3 -0
@@ 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