The open-source AI receptionist for businesses. Answers every call, books the appointment and hands over to a person when needed. You own the code and the data.
TypeScript ai-receptionistanswering-serviceappointment-bookinglivekitlocal-firstmcpopen-sourceself-hostedsiptelephonytypescriptvoice-agentvoice-ai
// Automatic updates (electron-updater): built in, off. When Linedesk publishes desktop releases, a build with
// LINEDESK_DESKTOP_UPDATES=1 checks the release feed (electron-builder.yml `publish`) at start and every 6 hours,
// downloads in the background and installs on the next quit. Until then nothing is checked or downloaded.
import { app } from 'electron'
import { UPDATES_ON } from './config.ts'
const EVERY_MS = 6 * 60 * 60 * 1000
export async function startUpdates() {
if (!UPDATES_ON || !app.isPackaged) return
const { autoUpdater } = await import('electron-updater')
autoUpdater.autoDownload = true
autoUpdater.autoInstallOnAppQuit = true
const check = () => void autoUpdater.checkForUpdates().catch(() => {})
check()
setInterval(check, EVERY_MS).unref()
}