SDA-3589 (Remove unwanted targets and add extra files) (#1454)

* SDA-3589 - Remove unwanted targets

* SDA-3589 - Set perMachine false
This commit is contained in:
Kiran Niranjan 2022-07-13 12:50:04 +05:30 committed by GitHub
parent 094a68f99a
commit a1d35cd146
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,14 +41,15 @@
}, },
"build": { "build": {
"appId": "com.symphony.electron_desktop", "appId": "com.symphony.electron_desktop",
"uninstallDisplayName": "${productName}",
"artifactName": "${productName}-${version}-${os}.${ext}", "artifactName": "${productName}-${version}-${os}.${ext}",
"asar": true, "asar": true,
"asarUnpack": "**/*.node", "asarUnpack": "**/*.node",
"nsis": { "nsis": {
"perMachine": true, "perMachine": false,
"oneClick": false,
"allowToChangeInstallationDirectory": true, "allowToChangeInstallationDirectory": true,
"include": "build/installer.nsh" "include": "build/installer.nsh",
"uninstallDisplayName": "${productName}"
}, },
"files": [ "files": [
"!coverage/*", "!coverage/*",
@ -87,7 +88,6 @@
], ],
"target": [ "target": [
"dir", "dir",
"dmg",
"zip" "zip"
] ]
}, },
@ -95,8 +95,24 @@
"icon": "images/icon.ico", "icon": "images/icon.ico",
"target": [ "target": [
"dir", "dir",
"nsis", "nsis"
"zip" ],
"extraFiles": [
{
"from": "node_modules/screen-share-indicator-frame/ScreenShareIndicatorFrame.exe",
"to": "ScreenShareIndicatorFrame.exe"
},
{
"from": "node_modules/screen-snippet/ScreenSnippet.exe",
"to": "ScreenSnippet.exe"
},
{
"from": "node_modules/@symphony/symphony-c9-shell/shell",
"to": "cloud9",
"filter": [
"**/*"
]
}
] ]
}, },
"linux": { "linux": {