fix(standalone): load extra folder paths from library settings in standalone mode

This commit is contained in:
Will Miao
2026-07-03 19:21:56 +08:00
parent 4ed9169646
commit b22f09bd1d

View File

@@ -177,7 +177,6 @@ class Config:
# Load extra folder paths from active library settings before symlink scan # Load extra folder paths from active library settings before symlink scan
# so both primary and extra paths are discovered in a single pass. # so both primary and extra paths are discovered in a single pass.
if not standalone_mode:
self._load_extra_paths_from_settings() self._load_extra_paths_from_settings()
# Scan symbolic links during initialization # Scan symbolic links during initialization
@@ -193,7 +192,7 @@ class Config:
Called during ``Config.__init__`` before the symlink scan so both primary and Called during ``Config.__init__`` before the symlink scan so both primary and
extra paths are discovered in a single pass. Mirrors the extra-path extra paths are discovered in a single pass. Mirrors the extra-path
portion of ``_apply_library_paths`` without replacing the primary roots portion of ``_apply_library_paths`` without replacing the primary roots
that were already resolved from ComfyUI's ``folder_paths``. that were already resolved via ``folder_paths.get_folder_paths``.
""" """
try: try:
from .services.settings_manager import get_settings_manager from .services.settings_manager import get_settings_manager