Skip to content

Commit

Permalink
Add a shortcut to the repo under "About"
Browse files Browse the repository at this point in the history
  • Loading branch information
hadcl4 committed Mar 15, 2022
1 parent 14770dc commit acbeea0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,10 @@ def gogbrowser():
webview.create_window("GOG", "https://gog.com")
webview.start()

def viewrepo():
webview.create_window("Thunder on GitHub", "https://github.com/hadcl4/Thunder")
webview.start()

def webbrowser():
command = f'python3 '+home_path+'/Thunder/thunderwebhelper 0'
process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
Expand Down Expand Up @@ -631,7 +635,7 @@ def librarydown():
options=[
[ ["Configuration", config], ["Update Thunder", thunder_update], ["System Info (config.txt)", system], ["System Info (all platforms)", sysinfo], ["Game Database", game_collection], ["ThunderStore", store], ["Web Browser", webbrowser], ["Exit Thunder", exit_thunder] ],
[ ["Add Game...", addgame_all], ["Add Source...", source_add], ["Run Setup...", setup_game], ["Create Desktop Shortcut...", create_short], ["Browse Games on Steam", steambrowser], ["Browse Games on Itch.io", itchbrowser], ["Browse Games on GOG.com", gogbrowser] ],
[ ["Help", manual], ["License", lic], ["Docs (less)", thunder_docs], ["Docs (html)", thunder_doc_html] ],
[ ["Help", manual], ["License", lic], ["Docs (less)", thunder_docs], ["Docs (html)", thunder_doc_html], ["View Thunder on GitHub", viewrepo] ],
[ ["ThunderCloud Data Transfer", cloud_cli], ["Steam Chat", thunderclient] ], # This needs some work!
[ ["Dolphin-Emu", dolphin_emu], ["PCSX Reloaded", pcsxr], ["melonDS_Pi", melonds], ["Mednagui", mednagui], ["PPSSPP", ppsspp] ]
])
Expand Down

0 comments on commit acbeea0

Please sign in to comment.