productName: Tailchat
appId: com.msgbyte.tailchat
asar: true
asarUnpack: '**\*.{node,dll}'
files:
  - dist
  - node_modules
  - package.json
  - assets/
afterSign: .erb/scripts/notarize.js
mac:
  target:
    # Not need zip and auto update
    target: dmg
    arch:
      - arm64
      - x64
  type: distribution
  hardenedRuntime: true
  entitlements: assets/entitlements.mac.plist
  entitlementsInherit: assets/entitlements.mac.plist
  gatekeeperAssess: false
dmg:
  contents:
    - x: 130
      y: 220
    - x: 410
      y: 220
      type: link
      path: /Applications
win:
  target:
    - zip
    # - nsis
linux:
  target:
    - AppImage
  category: Development
directories:
  app: release/app
  buildResources: assets
  output: release/build
extraResources:
  - ./assets/**
# publish:
#   provider: github
#   owner: msgbyte
#   repo: tailchat
