apps/desktop/README.md
A Tauri-based desktop application for Midday that supports multiple environments with a native transparent titlebar on macOS.
The desktop app supports three environments, each loading a different URL:
http://localhost:3001https://beta.midday.aihttps://app.midday.ai# Run in development environment (loads localhost:3001)
bun run tauri:dev
# Run in staging environment (loads beta.midday.ai)
bun run tauri:staging
# Run in production environment (loads app.midday.ai)
bun run tauri:prod
bun run tauri:build
bun run tauri:build:staging
bun run tauri:build:prod
The environment is controlled by the MIDDAY_ENV environment variable:
development or dev → http://localhost:3001staging → https://beta.midday.aiproduction or prod → https://app.midday.aiIf no environment is specified, it defaults to development mode.
You can also set the environment manually:
# macOS/Linux
MIDDAY_ENV=staging tauri dev
# Windows (PowerShell)
$env:MIDDAY_ENV="staging"; tauri dev
# Windows (Command Prompt)
set MIDDAY_ENV=staging && tauri dev