productName: tangsengdaodao
appId: com.tsdaodao.im
copyright: Copyright © tsdaodao
directories:
  output: dist-ele
npmRebuild: false
asar: false
buildDependenciesFromSource: true
electronDownload:
  mirror: https://npmmirror.com/mirrors/electron/
files:
  - resources/**/*
  - out-election/**/*
  - build/**/*
extraMetadata:
  main: out-election/main/index.js
mac:
  category: public.app-category.instant-messaging
  target:
   - target: dmg
     arch:
      - x64
      - arm64
  artifactName: ${productName}-${os}-${version}-${arch}.${ext}
  icon: resources/icons/icon.icns
dmg:
  icon: resources/icons/icon.icns
  iconSize: 100
  contents:
    - x: 380
      y: 280
      type: link
      path: /Applications
    - x: 110
      y: 280
      type: link
  window:
    width: 500
    height: 500
win:
  icon: resources/icons/icon.ico
  verifyUpdateCodeSignature: false
  target:
    - nsis
    - zip
  artifactName: ${productName}-Setup-${version}.${ext}
nsis:
  oneClick: false
  allowElevation: true
  allowToChangeInstallationDirectory: true
  createDesktopShortcut: true
  createStartMenuShortcut: true
linux:
  target:
    - AppImage
    - deb
  icon: resources/icons/icon.icns

