def __init__(self): runtime.update() self.downloader = runtime.get_downloader() DownloadDialog.__init__( self, title="Updating runtime", label="Downloading Lutris Runtime", downloader=self.downloader, )
def update_runtime(self): cancellables = runtime.update(self.set_status) self.threads_stoppers += cancellables