Loading files
442335385This file is pinned to the selected release. Download the original to open it in your design tool.
import 'dart:io';
/// Whether this build is a VIEWER: a window onto the user's machines and nothing more.
///
/// No harness CLI runs beside it and no agent is ever hosted here, so every machine — this computer
/// included, if it is a Harness machine at all — is reached through the relay, with this app
/// terminating the end-to-end encryption the CLI terminates everywhere else (see `lib/viewer/`).
///
/// True on iOS, Android and Windows, where the CLI cannot run: tmux is not optional to it, and a
/// phone will not host a Node runtime or spawn a process at all. On macOS and Linux only with
/// `--dart-define=HARNESS_VIEWER_MODE=true`, which is how the path is developed and tested on a Mac
/// against real machines.
final bool kViewerMode =
const bool.fromEnvironment('HARNESS_VIEWER_MODE') ||
Platform.isIOS ||
Platform.isAndroid ||
Platform.isWindows;
Files from this revision, including CAD and LFS contents. Git history is not included.
Or in GitHub Desktop, choose File → Clone repository → URL and paste this address.
Public repositories can be cloned without signing in. For pushing, use your ThingAtlas username and a Git access token as the password.
git lfs install git clone https://thingatlas.com/git/-unclaimed/openharness-1322671404.git
Includes Git history, branches, and Git LFS files. Clones the repository’s default branch, regardless of the version shown here.
442335385This file is pinned to the selected release. Download the original to open it in your design tool.