diff --git a/furtka/paths.py b/furtka/paths.py index f32d895..9b6166d 100644 --- a/furtka/paths.py +++ b/furtka/paths.py @@ -2,7 +2,11 @@ import os from pathlib import Path DEFAULT_APPS_DIR = Path("/var/lib/furtka/apps") -DEFAULT_BUNDLED_APPS_DIR = Path("/opt/furtka/apps") +# Bundled apps live alongside the Python package inside each versioned slot +# (/opt/furtka/versions//apps/), reached via the /opt/furtka/current +# symlink. A flat /opt/furtka/apps path would break the Phase-2 self-update +# flow (symlink swap wouldn't move the bundled-app tree along with the code). +DEFAULT_BUNDLED_APPS_DIR = Path("/opt/furtka/current/apps") def apps_dir() -> Path: