Skip to content

Create polished demo videos without editing skills. Mac/Windows/Linux

3.7 KB
Raw Blame
// @see - https://www.electron.build/configuration/configuration
{
  "$schema": "https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json",
  "appId": "dev.recordly.app",
  "electronUpdaterCompatibility": ">=2.16",
  "asar": true,
  "asarUnpack": [
    "node_modules/ffmpeg-static/**",
    "node_modules/ffprobe-static/**",
    "node_modules/uiohook-napi/**",
    "electron/native/bin/**"
  ],
  "productName": "Recordly",
  "protocols": [
    {
      "name": "Recordly authentication",
      "schemes": ["recordly"]
    }
  ],
  "npmRebuild": true,
  "buildDependenciesFromSource": true,
  "compression": "normal",
  "directories": {
    "output": "release"
  },
  "files": [
    "dist",
    "!dist/wallpapers/**",
    "dist-electron",
    "electron/native/bin",
    "!electron/native/bin/**/whisper-bench*",
    "!electron/native/bin/**/whisper-quantize*",
    "!electron/native/bin/**/whisper-server*",
    "!electron/native/bin/**/whisper-vad-speech-segments*",
    "!node_modules/ffprobe-static/bin/darwin/**",
    "!node_modules/ffprobe-static/bin/linux/**",
    "!node_modules/ffprobe-static/bin/win32/ia32/**",
    "!electron/native/**/build/**",
    "!*.png",
    "!preview*.png",
    "!*.md",
    "!README.md",
    "!CONTRIBUTING.md",
    "!LICENSE"
  ],
  "extraResources": [
    {
      "from": "public/wallpapers",
      "to": "assets/wallpapers"
    }
  ],
  "publish": [
    {
      "provider": "github",
      "owner": "webadderall",
      "repo": "Recordly",
      "tagNamePrefix": "v",
      "publishAutoUpdate": true
    }
  ],

  "mac": {
    "hardenedRuntime": true,
    "entitlements": "build/entitlements.mac.plist",
    "entitlementsInherit": "build/entitlements.mac.inherit.plist",
    "target": [
      {
        "target": "dmg",
        "arch": ["x64", "arm64"]
      },
      {
        "target": "zip",
        "arch": ["x64", "arm64"]
      }
    ],
    "icon": "icons/icons/mac/icon.icns",
    "artifactName": "${productName}-${arch}.${ext}",
    "extendInfo": {
      "NSAudioCaptureUsageDescription": "Recordly needs audio capture permission to record system audio.",
      "NSCameraUsageDescription": "Recordly needs camera access to record webcam video.",
      "NSMicrophoneUsageDescription": "Recordly needs microphone access to record voice audio.",
      "NSCameraUseContinuityCameraDeviceType": true,
      "com.apple.security.device.audio-input": true,
      "CFBundleDocumentTypes": [
        {
          "CFBundleTypeName": "Recordly Project",
          "CFBundleTypeRole": "Editor",
          "CFBundleTypeExtensions": ["recordly"],
          "CFBundleTypeIconFile": "icon.icns",
          "LSHandlerRank": "Owner",
          "LSItemContentTypes": ["dev.recordly.app.project"]
        }
      ],
      "UTExportedTypeDeclarations": [
        {
          "UTTypeIdentifier": "dev.recordly.app.project",
          "UTTypeDescription": "Recordly Project",
          "UTTypeConformsTo": ["public.json"],
          "UTTypeTagSpecification": {
            "public.filename-extension": ["recordly"],
            "public.mime-type": "application/x-recordly-project"
          }
        }
      ]
    }
  },
  "linux": {
    "target": [
      "AppImage"
    ],
    "icon": "icons/icons/png",
    "artifactName": "${productName}-linux-x64.${ext}",
    "category": "AudioVideo"
  },
  "win": {
    "target": [
      "nsis"
    ],
    "icon": "icons/icons/win/icon.ico",
    "executableName": "Recordly",
    "artifactName": "${productName}-windows-${arch}.${ext}"
  },
  "nsis": {
    "oneClick": false,
    "allowToChangeInstallationDirectory": true,
    "createDesktopShortcut": true,
    "createStartMenuShortcut": true,
    "shortcutName": "Recordly"
  }
}