- Add multica:// protocol for macOS and Windows (production login) - Add build:staging and build:production scripts - Update env vars: remove MULTICA_URL, add WEB_URL - Update README with environment configuration docs Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
32 lines
1.1 KiB
Text
32 lines
1.1 KiB
Text
# =============================================================================
|
|
# Multica Desktop Environment Configuration
|
|
# =============================================================================
|
|
#
|
|
# Local Development:
|
|
# Just run `pnpm dev` - no .env file needed (uses defaults)
|
|
#
|
|
# Staging Build:
|
|
# `pnpm build:staging` uses .env.staging
|
|
#
|
|
# Production Build:
|
|
# `pnpm build` uses .env.production
|
|
#
|
|
# Variable naming convention:
|
|
# MAIN_VITE_* - Main process only (Node.js, full system access)
|
|
# RENDERER_VITE_* - Renderer process only (browser context)
|
|
# VITE_* - All processes
|
|
#
|
|
# =============================================================================
|
|
# URL Configuration
|
|
# =============================================================================
|
|
#
|
|
# MAIN_VITE_GATEWAY_URL - WebSocket Gateway
|
|
# Hub connects to Gateway for remote device access (QR code pairing)
|
|
#
|
|
# MAIN_VITE_WEB_URL - Web App URL
|
|
# Desktop opens this URL for user login (OAuth flow)
|
|
#
|
|
# =============================================================================
|
|
|
|
MAIN_VITE_GATEWAY_URL=http://localhost:3000
|
|
MAIN_VITE_WEB_URL=http://localhost:3000
|