diff --git a/README.md b/README.md index 1ca493de..2cdcd5e9 100644 --- a/README.md +++ b/README.md @@ -78,10 +78,12 @@ from the [Releases](https://github.com/ApocDev/pyops/releases) page: - **macOS** — `.dmg` - **Windows** — the `-setup.exe` installer -It still needs **Factorio + the Py mods** installed locally (it reads your recipe -data via a data sync), and a fresh install starts empty — open **⚙ Settings › Game -data** and run a sync on first launch, same as [from source](#setup) below. For how -it's built and released, see [`docs/desktop.md`](docs/desktop.md). +It still needs **Factorio** installed locally to read your recipe data via a data +sync — PyOps is built for the **Py** mods (and Py-specific views like TURD only +appear when that data is present), but it'll load whatever mod set you sync. A fresh +install starts empty — open **⚙ Settings › Game data** and run a sync on first +launch, same as [from source](#setup) below. For how it's built and released, see +[`docs/desktop.md`](docs/desktop.md). --- diff --git a/app/src/components/app-nav.tsx b/app/src/components/app-nav.tsx index 5590d0d8..1857357a 100644 --- a/app/src/components/app-nav.tsx +++ b/app/src/components/app-nav.tsx @@ -6,9 +6,9 @@ import { BridgeIndicator } from "./bridge-indicator"; import { HorizonMenu } from "./horizon-menu"; import { LogisticsMenu } from "./logistics-menu"; import { NavMobile } from "./nav-mobile"; -import { NAV_LINKS, SETTINGS_LINK } from "./nav-links"; +import { SETTINGS_LINK, visibleNavLinks } from "./nav-links"; import { activeRunCount, subscribeRuns } from "../lib/chat-store"; -import { modDriftFn } from "../server/factorio"; +import { dataCapabilitiesFn, modDriftFn } from "../server/factorio"; import { driftModal } from "../lib/drift-store"; /** Persistent re-entry point for the data-sync modal: a small amber chip in the @@ -54,6 +54,7 @@ const active = "!text-foreground border-b-2 border-primary bg-muted/30"; * bar shows from `xl` up (desktop/Steam Deck); below that it collapses to a * hamburger drawer (NavMobile) so it never forces the page wider than the screen. */ export function AppNav() { + const caps = useQuery({ queryKey: ["dataCapabilities"], queryFn: () => dataCapabilitiesFn() }); return (