changed hydra veil fallback path

This commit is contained in:
John 2025-09-21 02:47:07 +01:00
parent 324843c92f
commit 791b493c5d

View file

@ -4986,7 +4986,7 @@ class Settings(Page):
find_command = QLineEdit() find_command = QLineEdit()
find_command.setReadOnly(True) find_command.setReadOnly(True)
find_command.setText(f"find ~ -name '{os.environ.get('APPIMAGE') or 'hydra-veil-x86_64.AppImage'}' 2>/dev/null") find_command.setText(f"find ~ -name '{os.environ.get('APPIMAGE') or '/path/to/hydra-veil'}' 2>/dev/null")
find_command.setStyleSheet(f""" find_command.setStyleSheet(f"""
QLineEdit {{ QLineEdit {{
color: white; color: white;
@ -5278,7 +5278,7 @@ class Settings(Page):
if profile and isinstance(profile, SystemProfile): if profile and isinstance(profile, SystemProfile):
app_path = os.environ.get('APPIMAGE') or "./hydra-veil-x86_64.AppImage" 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)