forked from RocketChat/Rocket.Chat.Electron
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CHORE] Build configuration update (RocketChat#1204)
* Fix file indentation * Amend tasks to ESLint rules * Remove node_modules from electron-builder configuration * Remove 32-bit builds for Linux
- Loading branch information
Showing
8 changed files
with
109 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,102 +1,101 @@ | ||
{ | ||
"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": "50", | ||
"helperBundleId": "chat.rocket.electron.helper", | ||
"type": "distribution", | ||
"files": [ | ||
"app/**/*", | ||
"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": "50", | ||
"helperBundleId": "chat.rocket.electron.helper", | ||
"type": "distribution", | ||
"artifactName": "rocketchat-${version}.${ext}", | ||
"extendInfo": { | ||
"NSMicrophoneUsageDescription": "I need access to your microphone to record the audio you want to send.", | ||
"NSCameraUsageDescription": "I need access to your camera to record the video you want to send." | ||
} | ||
}, | ||
"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" | ||
], | ||
"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 | ||
} | ||
] | ||
}, | ||
"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" | ||
], | ||
"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 | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters