Files
lune/web/vite.desktop.config.ts
Adnan Zahir 6cb85004fb Milestone 7: the app normal people install (macOS)
A Tauri menu-bar app runs the same sync engine as `lunesync run`. It
connects from the website with no code typed (lune://join and
lune://pair links), shows status in the menu bar, and lets a person
resolve held secrets, held big changes and kept-both notes side by
side. Uninstall shares and hands over first, then removes only what
Lune created.

Releases are signed on the hub that holds the key (`lunehub release
keygen/publish`); other hubs `release import` them. Apps verify the
signature and the signed version. Clients older than the previous
release are asked to update and keep saving locally.

A device can now be on several hubs at once (own and workplace), each
with its own key; the CLI takes --team when it matters. The supervisor
and status summary moved into core, shared by the CLI and the app.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 11:47:35 +07:00

10 lines
363 B
TypeScript

import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
// The Lune window inside the Mac app (desktop/): its own page, built next to the canvas, never served by the hub.
export default defineConfig({
plugins: [react()],
base: './',
build: { outDir: 'dist-desktop', emptyOutDir: true, rollupOptions: { input: 'desktop.html' } },
});