cleanup: remove separate ui repo dependency, ui-dist is canonical
This commit is contained in:
+1
-4
@@ -57,11 +57,8 @@ _ui_dist_env = os.environ.get("UI_DIST_DIR")
|
|||||||
if _ui_dist_env:
|
if _ui_dist_env:
|
||||||
UI_DIST_DIR = Path(_ui_dist_env).resolve()
|
UI_DIST_DIR = Path(_ui_dist_env).resolve()
|
||||||
else:
|
else:
|
||||||
# Priority order: pi-multifx-pedal-ui (Helix style) -> src/web/ui-dist (legacy) -> frontend-react (deprecated)
|
# Priority: src/web/ui-dist is the canonical UI
|
||||||
# NOTE: On the pedal, UI_DIST_DIR is set in the systemd service to
|
|
||||||
# the explicit path to avoid the wrong build being picked up.
|
|
||||||
_candidates = [
|
_candidates = [
|
||||||
Path(__file__).resolve().parent.parent.parent.parent / "pi-multifx-pedal-ui" / "dist",
|
|
||||||
Path(__file__).resolve().parent / "ui-dist",
|
Path(__file__).resolve().parent / "ui-dist",
|
||||||
Path(__file__).resolve().parent.parent.parent / "frontend-react" / "dist",
|
Path(__file__).resolve().parent.parent.parent / "frontend-react" / "dist",
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user