diff --git a/python/qmk_hid/gui.py b/python/qmk_hid/gui.py index b0a5cca..40360a9 100644 --- a/python/qmk_hid/gui.py +++ b/python/qmk_hid/gui.py @@ -462,5 +462,12 @@ def tk_flash_firmware(devices, releases, version, fw_type): disable_devices(devices) restart_hint() +def open_browser_func(url): + # try to open url in new tab + success = webbrowser.open(url=url, new=2) + if not success: + info_popup("Failed to open webbrowser.") + return + if __name__ == "__main__": main() diff --git a/python/requirements.txt b/python/requirements.txt index 37f2cea..954ef87 100644 --- a/python/requirements.txt +++ b/python/requirements.txt @@ -1,3 +1,2 @@ hidapi==0.14.0.post2 -PySimpleGUI-4-foss==4.60.4.1 pywin32; os_name == 'nt'