{
  "appId": "com.paarrot.app",
  "productName": "Paarrot",
  "artifactName": "${productName}-${version}-${os}-${arch}.${ext}",
  "copyright": "Copyright © 2026 Mates.Media",
  "directories": {
    "output": "dist-electron",
    "buildResources": "build-resources"
  },
  "files": [
    "electron/**/*",
    "cinny/dist/**/*",
    "!**/*.map",
    "!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme}",
    "!**/node_modules/*/{test,__tests__,tests,powered-test,example,examples}",
    "!**/node_modules/*.d.ts",
    "!**/node_modules/.bin",
    "!**/*.{iml,o,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,xproj}",
    "!.editorconfig",
    "!**/._*",
    "!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,.gitignore,.gitattributes}",
    "!**/{__pycache__,thumbs.db,.flowconfig,.idea,.vs,.nyc_output}",
    "!**/{appveyor.yml,.travis.yml,circle.yml}",
    "!**/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json}"
  ],
  "extraResources": [
    {
      "from": "icons",
      "to": "icons",
      "filter": ["**/*"]
    }
  ],
  "linux": {
    "target": [
      {
        "target": "AppImage",
        "arch": ["x64"]
      }
    ],
    "category": "Network;InstantMessaging",
    "maintainer": "Mates.Media <mates.media@users.noreply.github.com>",
    "icon": "icons/icon.png",
    "desktop": {
      "entry": {
        "Name": "Paarrot",
        "GenericName": "Matrix Client",
        "Comment": "A Matrix client built with Cinny",
        "Categories": "Network;InstantMessaging;",
        "Keywords": "matrix;chat;messaging;",
        "StartupWMClass": "paarrot"
      }
    }
  },
  "deb": {
    "depends": [
      "libnotify4",
      "libxtst6",
      "libnss3"
    ],
    "afterInstall": "build-resources/linux/after-install.sh",
    "afterRemove": "build-resources/linux/after-remove.sh"
  },
  "rpm": {
    "depends": [
      "libnotify",
      "libXtst",
      "nss"
    ],
    "afterInstall": "build-resources/linux/after-install.sh",
    "afterRemove": "build-resources/linux/after-remove.sh"
  },
  "win": {
    "target": [
      {
        "target": "squirrel",
        "arch": ["x64"]
      }
    ],
    "icon": "icons/icon.ico",
    "artifactName": "${productName}-${version}-${os}-${arch}.${ext}"
  },
  "squirrelWindows": {
    "name": "Paarrot",
    "loadingGif": "icons/icon.png",
    "iconUrl": "http://synbox.ruv.wtf:8418/litruv/cinny-desktop/raw/branch/main/icons/icon.ico",
    "remoteReleases": false,
    "useAppIdAsId": true
  },
  "publish": {
    "provider": "generic",
    "url": "http://synbox.ruv.wtf:8418/litruv/cinny-desktop/releases/download/v${version}",
    "channel": "latest"
  }
}
