appId: com.lutzroeder.netron
productName: Netron
files:
  - 'src/**/*'
directories:
  buildResources: ./setup
fileAssociations:
  - name: "Arm NN Model"
    ext: armnn
  - name: "CNTK Model"
    ext: cmf
  - name: "CNTK Model"
    ext: dnn
  - name: "Keras Model"
    ext: h5
  - name: "Keras Model"
    ext: hd5
  - name: "Keras Model"
    ext: hdf5
  - name: "Keras Model"
    ext: keras
  - name: "TensorFlow Lite Model"
    ext: lite
  - name: "MXNet Model"
    ext: mar
  - name: "TensorFlow Meta Graph"
    ext: meta
  - name: "Core ML Model"
    ext: mlmodel
  - name: "MNN Model"
    ext: mnn
  - name: "Model"
    ext: model
  - name: "ONNX Model"
    ext: onnx
  - name: "Protocol Buffer"
    ext: pb
  - name: "Text Protocol Buffer"
    ext: pbtxt
  - name: "Text Protocol Buffer"
    ext: prototxt
  - name: "Caffe Model"
    ext: caffemodel
  - name: "NCNN Model"
    ext: param
  - name: "PyTorch Model"
    ext: pth
  - name: "PyTorch Model"
    ext: pt
  - name: "Torch Model"
    ext: t7
  - name: "TensorFlow Lite Model"
    ext: tflite
  - name: "TensorFlow Lite Model"
    ext: tfl
  - name: "Tengine"
    ext: tmfile
afterSign: "./setup/notarize.js"
publish:
  - provider: github
    releaseType: release
mac:
  category: public.app-category.developer-tools
  darkModeSupport: true
  hardenedRuntime: true
  gatekeeperAssess: false
  target: 
  - dmg
  - zip
linux:
  target:
  - AppImage
  - snap
snap:
  plugs:
  - default
  - removable-media
  publish:
  - provider: snapStore
    channels:
    - stable
win:
  target:
  - nsis
  verifyUpdateCodeSignature: false
dmg:
  iconSize: 160
  contents:
  - x: 180
    y: 170
  - x: 480
    y: 170
    type: link
    path: /Applications
nsis:
  perMachine: true
