Add disconnect to Humble service

This commit is contained in:
Mathieu Comandon 2020-01-22 20:47:40 -08:00
parent 6a65c20636
commit 9ea01ac434

View file

@ -156,6 +156,11 @@ def connect(parent=None):
dialog.run()
def disconnect(self):
"""Disconnect from Humble Bundle"""
return SERVICE.disconnect()
def get_humble_download_link(humbleid, runner):
"""Return a download link for a given humbleid and runner"""
platform = runner if runner != "wine" else "windows"