electron-builder.json 1.83 KB
Newer Older
1 2 3 4
{
  "files": [
    "app/**/*",
    "node_modules/**/*",
5
    "package.json"
6 7 8 9 10 11
  ],
  "extraResources": [
    "dictionaries/**/*",
    "build/icon.ico",
    "servers.json"
  ],
12
  "appId": "chat.rocket",
13 14 15
  "mac": {
    "category": "public.app-category.productivity",
    "target": [
Tasso Evangelista's avatar
Tasso Evangelista committed
16
      "dmg",
Tasso Evangelista's avatar
Tasso Evangelista committed
17
      "pkg",
Tasso Evangelista's avatar
Tasso Evangelista committed
18
      "zip",
19 20
      "mas"
    ],
Tasso Evangelista's avatar
Tasso Evangelista committed
21
    "icon": "build/icon.icns",
Tasso Evangelista's avatar
Tasso Evangelista committed
22
    "bundleVersion": "35",
Tasso Evangelista's avatar
Tasso Evangelista committed
23 24
    "helperBundleId": "chat.rocket.electron.helper",
    "type": "distribution",
25 26
    "artifactName": "rocketchat-${version}.${ext}"
  },
Tasso Evangelista's avatar
Tasso Evangelista committed
27 28 29 30 31 32 33
  "dmg": {
    "background": "build/background.png"
  },
  "pkg": {
    "isRelocatable": false,
    "overwriteAction": "upgrade"
  },
Tasso Evangelista's avatar
Tasso Evangelista committed
34
  "mas": {
Tasso Evangelista's avatar
Tasso Evangelista committed
35 36
    "entitlements": "build/entitlements.mas.plist",
    "entitlementsInherit": "build/entitlements.mas.inherit.plist",
Tasso Evangelista's avatar
Tasso Evangelista committed
37 38
    "artifactName": "rocketchat-${version}-mas.${ext}"
  },
Tasso Evangelista's avatar
Tasso Evangelista committed
39 40 41 42
  "win": {
    "target": [
      "nsis",
      "appx"
Tasso Evangelista's avatar
Tasso Evangelista committed
43 44
    ],
    "icon": "build/icon.ico"
Tasso Evangelista's avatar
Tasso Evangelista committed
45
  },
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
  "nsis": {
    "oneClick": false,
    "perMachine": false,
    "allowElevation": true,
    "allowToChangeInstallationDirectory": true,
    "artifactName": "rocketchat-setup-${version}.${ext}"
  },
  "appx": {
    "backgroundColor": "#2f343d",
    "displayName": "Rocket.Chat",
    "publisherDisplayName": "Rocket.Chat",
    "languages": [
      "en-US",
      "en-GB",
      "pt-BR"
    ],
Tasso Evangelista's avatar
Tasso Evangelista committed
62
    "artifactName": "rocketchat-${version}-${arch}.${ext}"
63 64 65 66 67 68 69
  },
  "linux": {
    "target": [
      "tar.gz",
      "deb",
      "rpm",
      "snap"
70 71 72 73 74 75 76
    ],
    "executableName": "rocketchat-desktop",
    "category": "GNOME;GTK;Network;InstantMessaging",
    "desktop": {
      "StartupWMClass": "Rocket.Chat",
      "MimeType": "x-scheme-handler/rocketchat"
    }
77 78 79 80 81 82 83 84 85 86
  },
  "publish": [
    {
      "provider": "github",
      "owner": "RocketChat",
      "repo": "Rocket.Chat.Electron",
      "vPrefixedTagName": false
    }
  ]
}