Docs / Reference / Environment variables
Build-time
Read when compiling, not at runtime.
| Variable | Values / default | What it does |
|---|---|---|
OMSI_BUILD |
set by build.rs |
The commit the binary was built from (env!). Not read at runtime. |
| Variable | What it does |
|---|---|
OPENOMSI_VERSION |
The version baked into the program. CI sets it; otherwise build.rs works it out as scripts/version.sh does (see Versions and releases). |
OPENOMSI_STORE |
A Mac build for the App Store: the game never looks for or offers updates. iPhone and iPad builds always behave so. |
OPENOMSI_MARKETING_VERSION, OPENOMSI_BUILD_NUMBER, OPENOMSI_TEAM_ID |
Xcode project (apple/project.yml): the app's version, build number and signing team. |
OPENOMSI_RUST_TARGET, OPENOMSI_RUST_PROFILE |
Xcode project: where the Rust libraries are (default ../target, release). |
Something wrong or missing? Fix it on GitHub or open an issue.