From 626cd349409c6c9e4ba6edfa9d61ee042ff124f0 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 12 Dec 2025 14:56:45 +0100 Subject: [PATCH] update: fixed endpoint verification bug --- gui/__main__.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/gui/__main__.py b/gui/__main__.py index 57422dd..d2aff1b 100755 --- a/gui/__main__.py +++ b/gui/__main__.py @@ -2232,7 +2232,6 @@ class MenuPage(Page): profile_data['ignore_profile_state_conflict'] = True self.enabling_profile(profile_data) elif action == "sync": - self._pending_endpoint_verification_ignore = True self.update_status.update_status("Syncing...") self.worker_thread = WorkerThread('SYNC') self.worker_thread.finished.connect(lambda: self.handle_sync_after_verification(profile_id)) @@ -2244,7 +2243,7 @@ class MenuPage(Page): self.popup.close() def handle_sync_after_verification(self, profile_id): - profile_data = {'id': profile_id, 'ignore_endpoint_verification': True} + profile_data = {'id': profile_id} if hasattr(self, '_pending_profile_state_conflict_ignore') and self._pending_profile_state_conflict_ignore: profile_data['ignore_profile_state_conflict'] = True self.enabling_profile(profile_data) @@ -5357,8 +5356,8 @@ class Settings(Page): ("Create/Edit", self.show_registrations_page), ("Verification", self.show_verification_page), ("Systemwide", self.show_systemwide_page), - ("Delete Profile", self.show_delete_page), ("Bwrap Permission", self.show_bwrap_page), + ("Delete Profile", self.show_delete_page), ("Error Logs", self.show_logs_page), ("Debug Help", self.show_debug_page) ] @@ -6963,7 +6962,7 @@ class Settings(Page): description = QLabel("Control whether HydraVeil configures a sudo policy so system-wide WireGuard profiles can be started without entering your sudo password.") description.setWordWrap(True) - description.setStyleSheet(f"color: white; font-size: 16px; font-family: Arial;") + description.setStyleSheet(f"color: white; font-size: 14px; {self.font_style}") layout.addWidget(description) status_layout = QHBoxLayout() @@ -8115,9 +8114,9 @@ class SystemwidePromptPage(Page): self.title.setGeometry(20, 50, 760, 40) self.title.setText("Enable \"no sudo\" systemwide") description = QLabel(self) - description.setGeometry(80, 100, 640, 160) + description.setGeometry(80, 100, 640, 120) description.setWordWrap(True) - description.setStyleSheet("font-size: 17px; color: cyan;") + description.setStyleSheet("font-size: 14px; color: cyan;") description.setText("If you're using Systemwide profiles, you may wish to enable them without having to enter the sudo password each time for convenience. This requires the sudo password to setup profiles and disable them (for security), but not to turn it on each time. You can choose to set this up now or later in the options menu.") icon_label = QLabel(self)