added single quotes to enable command

This commit is contained in:
John 2025-09-21 03:55:32 +01:00
parent 0f1c0e0338
commit d0ef7f1600

View file

@ -5197,7 +5197,7 @@ class Settings(Page):
if profile and isinstance(profile, SystemProfile): if profile and isinstance(profile, SystemProfile):
app_path = os.environ.get('APPIMAGE') or "/path/to/hydra-veil" app_path = os.environ.get('APPIMAGE') or "/path/to/hydra-veil"
self.cli_command.setText(f"{app_path} --cli profile enable -i {profile_id}") self.cli_command.setText(f"'{app_path}' --cli profile enable -i {profile_id}")
self.cli_copy_button.setEnabled(True) self.cli_copy_button.setEnabled(True)
self.cli_execute_button.setEnabled(True) self.cli_execute_button.setEnabled(True)
ip_address = self.extract_endpoint_ip(profile) ip_address = self.extract_endpoint_ip(profile)