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": {
"appId": "com.symphony.electron_desktop",
"uninstallDisplayName": "${productName}",
"artifactName": "${productName}-${version}-${os}.${ext}",
"asar": true,
"asarUnpack": "**/*.node",
"nsis": {
"perMachine": true,
"perMachine": false,
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"include": "build/installer.nsh"
"include": "build/installer.nsh",
"uninstallDisplayName": "${productName}"
},
"files": [
"!coverage/*",
@ -87,7 +88,6 @@
],
"target": [
"dir",
"dmg",
"zip"
]
},
@ -95,8 +95,24 @@
"icon": "images/icon.ico",
"target": [
"dir",
"nsis",
"zip"
"nsis"
],
"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": {