fix(update): wait for app exit before file replacement
All checks were successful
Desktop CI / tests (push) Successful in 12s
Desktop Release / release (push) Successful in 13s

This commit is contained in:
2026-02-15 18:51:00 +03:00
parent 90b3b4fc9d
commit 52b1301982
2 changed files with 14 additions and 5 deletions

View File

@@ -46,6 +46,8 @@ class AuthReloginSmokeTests(unittest.TestCase):
self.assertIn('message_box.addButton("Обновить сейчас", QMessageBox.AcceptRole)', self.source)
self.assertIn("def _start_auto_update(self, download_url, latest_version, checksum_url=\"\", download_name=\"\"):", self.source)
self.assertIn("def _verify_update_checksum(self, zip_path, checksum_url, download_name):", self.source)
self.assertIn("def _build_update_script(self, app_dir, source_dir, exe_name, target_pid):", self.source)
self.assertIn("set TARGET_PID=", self.source)
if __name__ == "__main__":