Skip to main content

BuildPlistEnvironment

Function BuildPlistEnvironment 

Source
fn BuildPlistEnvironment() -> BTreeMap<String, String>
Expand description

Collects environment variables from .env.Land for injection into Info.plist LSEnvironment so the bundled .app works standalone.

Sources from the .env.Land file in the repo root (where Maintain runs from). This ensures every runtime-relevant variable – Product*, Tier*, Network*, Trace, Record, Inspect, Disable, etc. – is available when the .app is launched via LaunchServices.

Build-time-only flags (CargoFeatures, CocoonEsbuildDefine, NODE_ENV) are excluded because they have no meaning at runtime inside the .app.