productName: AccessMod-Desktop
appId: org.accessmod.desktop
npmRebuild: false
publish: false
asar: true
directories:
  buildResources: build
files:
  - out
  - resources/**
asarUnpack:
  - resources/**

# WIN : only nsis works. Will complain about security, but can be bypassed easily
win:
  publisherName: AccessMod Team
  executableName: AccessMod Desktop
  icon: build/icon.png
  target:
    - nsis
nsis:
  artifactName: ${name}-${version}-setup.${ext}
  shortcutName: ${productName}
  uninstallDisplayName: ${productName}
  createDesktopShortcut: always
  allowToChangeInstallationDirectory: true
  oneClick: false
  allowElevation: true
  perMachine: true

# MAC : entitlements, signing and notarize are required. dmg must contain $arch
mac:
  hardenedRuntime: true
  gatekeeperAssess: false
  mergeASARs: false
  x64ArchFiles: "*"
  minimumSystemVersion: 12.0.0
  entitlements: resources/entitlements.mac.plist
  entitlementsInherit: resources/entitlements.mac.plist
  notarize: true
  category: public.app-category.education
  icon: build/icon.png
  target:
    - dmg
dmg:
  artifactName: ${name}-${version}-${arch}.${ext}
  sign: false

# LINUX : only deb works
linux:
  target:
    - deb
  maintainer: accessmod.org
  category: Utility
  icon: build/icon.png
  synopsis: Wrapper for AccessMod Docker
  description: Wrapper for AccesMod Docker instance and GUI helpers
deb:
  packageName: accessmod-desktop


