def check_version_callback(self, latest):
if not isinstance(latest, VersionInfo):
return
if latest.is_newer_than(self.VERSION_NUMBER):
answer = messagebox.askquestion('Update', 'A newer version is available, would you like to download it?', parent=self)
if answer == messagebox.YES:
webbrowser.open(self.RELEASES_URL)
评论列表
文章目录