appId: com.enterprise.posdesktop
productName: Enterprise POS
generateUpdatesFilesForAllChannels: true
directories:
  output: release
files:
  - dist/**
  - package.json
extraMetadata:
  main: dist/main/index.js
win:
  target:
    - target: nsis
      arch:
        - x64
  artifactName: EnterprisePOS-${version}-Setup.${ext}
nsis:
  oneClick: true
  allowToChangeInstallationDirectory: false
  perMachine: true
  differentialPackage: true
  deleteAppDataOnUninstall: false
publish:
  provider: generic
  url: ${env.POS_UPDATE_FEED_URL}
