コード例 #1
0
ファイル: dialogs.py プロジェクト: dacp17/lutris
    def __init__(self):
        runtime.update()
        self.downloader = runtime.get_downloader()

        DownloadDialog.__init__(
            self,
            title="Updating runtime",
            label="Downloading Lutris Runtime",
            downloader=self.downloader,
        )
コード例 #2
0
ファイル: lutriswindow.py プロジェクト: dacp17/lutris
 def update_runtime(self):
     cancellables = runtime.update(self.set_status)
     self.threads_stoppers += cancellables