appId: lv.carp.parts-comparator
productName: Car Parts Comparator
electronVersion: 43.1.1
asar: true
npmRebuild: false

directories:
  output: ../../release

files:
  - "**/*"
  - "!node_modules{,/**/*}"

win:
  target:
    - target: nsis
      arch:
        - x64
    - target: portable
      arch:
        - x64

nsis:
  artifactName: "Car-Parts-Comparator-${version}-setup-${arch}.${ext}"
  oneClick: false
  allowToChangeInstallationDirectory: true

portable:
  artifactName: "Car-Parts-Comparator-${version}-portable-${arch}.${ext}"

linux:
  target:
    - target: AppImage
      arch:
        - x64
  category: Utility
  executableName: car-parts-comparator
  artifactName: "Car-Parts-Comparator-${version}-linux-${arch}.${ext}"
  syncDesktopName: true

mac:
  identity: null
  target:
    - target: dmg
      arch:
        - x64
    - target: zip
      arch:
        - x64
  category: public.app-category.utilities
  artifactName: "Car-Parts-Comparator-${version}-mac-${arch}.${ext}"
