Skip to content

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.

3.0 KB
Raw Blame
# Packages the desktop app (LIN-903): macOS .dmg (universal: Apple silicon and Intel) and a Windows installer (NSIS,
# per user, x64 and arm64). Signing: macOS with a Developer ID certificate from the environment (CSC_LINK,
# CSC_KEY_PASSWORD) and notarized with the App Store Connect API key (APPLE_API_KEY, APPLE_API_KEY_ID,
# APPLE_API_ISSUER); without them the build is unsigned. Windows is unsigned until Linedesk has a code signing
# certificate (WIN_CSC_LINK, WIN_CSC_KEY_PASSWORD). `--publish never` everywhere: nothing is uploaded from here.
appId: ai.linedesk.desktop
productName: Linedesk
copyright: Copyright © Linedesk
artifactName: Linedesk-${version}-${os}-${arch}.${ext}
directories:
  output: release
  buildResources: build
files:
  - dist/**
  - static/**
  - package.json
asar: true
# The package's own name is @linedesk/desktop (the workspace); installed, the app is `linedesk` (install folder, Linux
# binary).
extraMetadata:
  name: linedesk
# The app needs no node_modules at run time (scripts/build.mjs bundles its code; every package is a devDependency).
npmRebuild: false
protocols:
  - name: Linedesk
    schemes: [linedesk]
# Electron's switches that a shipped app does not need (https://www.electronjs.org/docs/latest/tutorial/fuses).
electronFuses:
  runAsNode: false
  enableCookieEncryption: true
  enableNodeOptionsEnvironmentVariable: false
  enableNodeCliInspectArguments: false
  enableEmbeddedAsarIntegrityValidation: true
  onlyLoadAppFromAsar: true
  grantFileProtocolExtraPrivileges: false
mac:
  category: public.app-category.business
  icon: build/icon.png
  target:
    - target: dmg
      arch: [universal]
  hardenedRuntime: true
  gatekeeperAssess: false
  entitlements: build/entitlements.mac.plist
  entitlementsInherit: build/entitlements.mac.plist
  extendInfo:
    NSMicrophoneUsageDescription: Linedesk uses the microphone for test calls with your assistant.
  notarize: true
# The .dmg window: the app, an arrow's distance from Applications, nothing else to read.
dmg:
  title: Linedesk
  writeUpdateInfo: false
  iconSize: 100
  window:
    width: 540
    height: 380
  contents:
    - x: 140
      y: 180
      type: file
    - x: 400
      y: 180
      type: link
      path: /Applications
win:
  icon: build/icon.ico
  target:
    - target: nsis
      arch: [x64, arm64]
# One click, no admin rights, no questions: installs for this person, adds Start menu and desktop shortcuts and opens
# the app (which then opens at login: src/install.ts).
nsis:
  oneClick: true
  perMachine: false
  runAfterFinish: true
  createDesktopShortcut: always
  createStartMenuShortcut: true
  shortcutName: Linedesk
  deleteAppDataOnUninstall: false
  differentialPackage: false
  artifactName: Linedesk-${version}-win-setup.${ext}
linux:
  icon: build/icon.png
  target: [dir]
  category: Office
  executableName: linedesk
# Prepared for automatic updates (src/updates.ts, off): the feed electron-updater would read. Nothing is published there yet.
publish:
  provider: generic
  url: https://downloads.linedesk.ai/desktop/${os}