Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

412 B
Raw Blame
/** The developer switches of this page load, read once in bootMobile. */
import type { DevSwitches } from '../platform/detect'

let switches: DevSwitches = { fontScale: null, route: null, os: null, theme: null, devPages: false, skipOnboarding: false, device: null }

export function setDevSwitches(next: DevSwitches): void {
  switches = next
}

export function devSwitches(): DevSwitches {
  return switches
}