mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-11-22 08:57:00 -06:00
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:
parent
094a68f99a
commit
a1d35cd146
28
package.json
28
package.json
@ -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": {
|
||||||
|
Loading…
Reference in New Issue
Block a user