This commit is contained in:
2026-01-22 03:41:31 -08:00
parent 816444b9db
commit 672599743f

View File

@@ -1127,6 +1127,10 @@ def main() -> int:
args.install_editable = True
args.no_playwright = False
elif sel == "extras_hydrus":
install_location = _prompt_hydrus_install_location()
if install_location is None:
return 0
install_root, install_dest = install_location
# Choice 2 is for installing HydrusNetwork standalone/independently.
# We preferentially use the local script if already in a repo.
hydrus_script = None
@@ -1136,8 +1140,6 @@ def main() -> int:
if not hydrus_script or not hydrus_script.exists():
# If truly not in a repo (Web Installer), we don't want to install
# Medios-Macina permanently. We'll use a temporary clone to get the installer.
print("\n[Standalone Hydrus Installation]")
print("Downloading the Hydrus installation helper...")
try:
import tempfile
# Create a temporary directory that persists for this run
@@ -1154,11 +1156,6 @@ def main() -> int:
return 1
if hydrus_script.exists():
install_location = _prompt_hydrus_install_location()
if install_location is None:
return 0
install_root, install_dest = install_location
try:
# Clear out project-venv related env vars to prevent auto-reexec
env = os.environ.copy()