Build
dist:unsigned is pnpm build then
CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder --publish never.
Do not set CSC_LINK / APPLE_* here.
Output lives in apps/desktop/release/:
--appimage-extract-and-run.
macOS Gatekeeper
Right-clickEla.app → Open → Open (once), or:
Where state lives
Durable user state is outside the app bundle.
Desktop does not read
VAULT_PATH (that is the Fastify API).
Pointing at an API
ELANOTES_API_URL=https://api.elanotes.com and
ELANOTES_API_TOKEN. ELANOTES_API_URL is the API origin. /v1 is on
each path. Optional:
ELANOTES_API_TOKEN, ELANOTES_VAULT_ID, ELANOTES_DEVICE_ID. Leave
replica unset for the day-to-day local vault.
Dev loop: pnpm dev:desktop. First-run search is lexical unless optional
ONNX vars are set.
