feat(update): stage 1 auto-update (one-click)

This commit is contained in:
2026-02-15 15:24:45 +03:00
parent b7fad78a71
commit b52cdea425
2 changed files with 117 additions and 1 deletions

View File

@@ -43,6 +43,8 @@ class AuthReloginSmokeTests(unittest.TestCase):
self.assertIn('QAction("Проверить обновления", self)', self.source)
self.assertIn("def check_for_updates(self, silent_no_updates=False):", self.source)
self.assertIn("class UpdateChecker(QObject):", self.source)
self.assertIn('message_box.addButton("Обновить сейчас", QMessageBox.AcceptRole)', self.source)
self.assertIn("def _start_auto_update(self, download_url, latest_version):", self.source)
if __name__ == "__main__":