Rocket.Chat.Electron/electron-builder.json
2018-09-18 11:35:34 -03:00

100 lines
2.1 KiB
JSON

{
"files": [
"app/**/*",
"node_modules/**/*",
"package.json"
],
"extraResources": [
"dictionaries/**/*",
"build/icon.ico",
"servers.json"
],
"appId": "chat.rocket",
"mac": {
"category": "public.app-category.productivity",
"target": [
"dmg",
"pkg",
"zip",
"mas"
],
"icon": "build/icon.icns",
"bundleVersion": "38",
"helperBundleId": "chat.rocket.electron.helper",
"type": "distribution",
"artifactName": "rocketchat-${version}.${ext}"
},
"dmg": {
"background": "build/background.png",
"contents": [
{
"type": "dir",
"x": 100,
"y": 211
},
{
"type": "link",
"path": "/Applications",
"x": 500,
"y": 211
}
]
},
"pkg": {
"isRelocatable": false,
"overwriteAction": "upgrade"
},
"mas": {
"entitlements": "build/entitlements.mas.plist",
"entitlementsInherit": "build/entitlements.mas.inherit.plist",
"artifactName": "rocketchat-${version}-mas.${ext}"
},
"win": {
"target": [
"nsis",
"appx"
],
"icon": "build/icon.ico"
},
"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"
],
"artifactName": "rocketchat-${version}-${arch}.${ext}"
},
"linux": {
"target": [
"tar.gz",
"deb",
"rpm",
"snap"
],
"executableName": "rocketchat-desktop",
"category": "GNOME;GTK;Network;InstantMessaging",
"desktop": {
"StartupWMClass": "Rocket.Chat",
"MimeType": "x-scheme-handler/rocketchat"
}
},
"publish": [
{
"provider": "github",
"owner": "RocketChat",
"repo": "Rocket.Chat.Electron",
"vPrefixedTagName": false
}
]
}