mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
SDA-3733 - Fix general code issues, Include everything from node_modules (#1445)
This commit is contained in:
@@ -61,7 +61,7 @@ class Script
|
||||
// desired contents of installation, and then we can simplify this bit.
|
||||
var project = new ManagedProject(productName,
|
||||
new Dir(@"%ProgramFiles%\" + productName,
|
||||
new File(new Id("symphony_exe"), @"..\..\..\dist\win-unpacked\Symphony.exe",
|
||||
new File(new Id("com.symphony.electron-desktop"), @"..\..\..\dist\win-unpacked\Symphony.exe",
|
||||
// Create two shortcuts to the main Symphony.exe file, one on the desktop and one in the program menu
|
||||
new FileShortcut(productName, @"%Desktop%")
|
||||
{
|
||||
@@ -113,12 +113,7 @@ class Script
|
||||
new DirFiles(@"..\..\..\dist\win-unpacked\resources\*.*"),
|
||||
new Dir(@"app.asar.unpacked",
|
||||
new Dir(@"node_modules",
|
||||
new Dir(@"ffi-napi\build\Release",
|
||||
new File(@"..\..\..\dist\win-unpacked\resources\app.asar.unpacked\node_modules\ffi-napi\build\Release\ffi_bindings.node")
|
||||
),
|
||||
new Dir(@"ref-napi\build\Release",
|
||||
new Files(@"..\..\..\dist\win-unpacked\resources\app.asar.unpacked\node_modules\ref-napi\prebuilds\*.*")
|
||||
)
|
||||
new Files(@"..\..\..\dist\win-unpacked\resources\app.asar.unpacked\node_modules\*.*")
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
37
package-lock.json
generated
37
package-lock.json
generated
@@ -62,7 +62,7 @@
|
||||
"prettier": "2.2.1",
|
||||
"pretty-quick": "^3.1.0",
|
||||
"robotjs": "0.6.0",
|
||||
"run-script-os": "1.1.6",
|
||||
"run-script-os": "^1.1.6",
|
||||
"spectron": "^15.0.0",
|
||||
"ts-jest": "25.3.0",
|
||||
"tslint": "5.11.0",
|
||||
@@ -20527,7 +20527,7 @@
|
||||
"version": "1.1.6",
|
||||
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/run-script-os/-/run-script-os-1.1.6.tgz",
|
||||
"integrity": "sha1-iwF3+xtUyZpnD5XH/cVPGLnHI0c=",
|
||||
"dev": true,
|
||||
"devOptional": true,
|
||||
"license": "MIT",
|
||||
"bin": {
|
||||
"run-os": "index.js",
|
||||
@@ -20840,9 +20840,8 @@
|
||||
}
|
||||
},
|
||||
"node_modules/screen-share-indicator-frame": {
|
||||
"version": "1.4.10",
|
||||
"resolved": "git+ssh://git@github.com/symphonyoss/ScreenShareIndicatorFrame.git#e943ec141899d8cf7301f4bd3f91a1434e1ceb10",
|
||||
"integrity": "sha512-/M9RZDlqWss6tjnDOx9w2kd8/oeNY5vE6nH4vNuz9MxSsZ3uc6zajcHMgYLreS7h6hxf21lrYuD+o8n7m3+5lQ==",
|
||||
"version": "1.4.13",
|
||||
"resolved": "git+ssh://git@github.com/symphonyoss/ScreenShareIndicatorFrame.git#f5748cb8b1f5a2a92b8d44efd46f195b38e00552",
|
||||
"hasInstallScript": true,
|
||||
"license": "ISC",
|
||||
"optional": true,
|
||||
@@ -20851,18 +20850,7 @@
|
||||
"darwin"
|
||||
],
|
||||
"dependencies": {
|
||||
"run-script-os": "1.0.7"
|
||||
}
|
||||
},
|
||||
"node_modules/screen-share-indicator-frame/node_modules/run-script-os": {
|
||||
"version": "1.0.7",
|
||||
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/run-script-os/-/run-script-os-1.0.7.tgz",
|
||||
"integrity": "sha1-fNURRKGcbKNk/maEM/VbR7q/R0k=",
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"bin": {
|
||||
"run-os": "index.js",
|
||||
"run-script-os": "index.js"
|
||||
"run-script-os": "1.1.6"
|
||||
}
|
||||
},
|
||||
"node_modules/screen-snippet": {
|
||||
@@ -40428,7 +40416,7 @@
|
||||
"version": "1.1.6",
|
||||
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/run-script-os/-/run-script-os-1.1.6.tgz",
|
||||
"integrity": "sha1-iwF3+xtUyZpnD5XH/cVPGLnHI0c=",
|
||||
"dev": true
|
||||
"devOptional": true
|
||||
},
|
||||
"safe-buffer": {
|
||||
"version": "5.1.2",
|
||||
@@ -40672,20 +40660,11 @@
|
||||
}
|
||||
},
|
||||
"screen-share-indicator-frame": {
|
||||
"version": "git+ssh://git@github.com/symphonyoss/ScreenShareIndicatorFrame.git#e943ec141899d8cf7301f4bd3f91a1434e1ceb10",
|
||||
"integrity": "sha512-/M9RZDlqWss6tjnDOx9w2kd8/oeNY5vE6nH4vNuz9MxSsZ3uc6zajcHMgYLreS7h6hxf21lrYuD+o8n7m3+5lQ==",
|
||||
"version": "git+ssh://git@github.com/symphonyoss/ScreenShareIndicatorFrame.git#f5748cb8b1f5a2a92b8d44efd46f195b38e00552",
|
||||
"from": "screen-share-indicator-frame@git+https://github.com/symphonyoss/ScreenShareIndicatorFrame.git#v1.4.13",
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"run-script-os": "1.0.7"
|
||||
},
|
||||
"dependencies": {
|
||||
"run-script-os": {
|
||||
"version": "1.0.7",
|
||||
"resolved": "https://repo.symphony.com/artifactory/api/npm/npm-virtual-dev/run-script-os/-/run-script-os-1.0.7.tgz",
|
||||
"integrity": "sha1-fNURRKGcbKNk/maEM/VbR7q/R0k=",
|
||||
"optional": true
|
||||
}
|
||||
"run-script-os": "1.1.6"
|
||||
}
|
||||
},
|
||||
"screen-snippet": {
|
||||
|
||||
@@ -144,7 +144,7 @@
|
||||
"prettier": "2.2.1",
|
||||
"pretty-quick": "^3.1.0",
|
||||
"robotjs": "0.6.0",
|
||||
"run-script-os": "1.1.6",
|
||||
"run-script-os": "^1.1.6",
|
||||
"spectron": "^15.0.0",
|
||||
"ts-jest": "25.3.0",
|
||||
"tslint": "5.11.0",
|
||||
|
||||
@@ -19,7 +19,6 @@ const userDataPath =
|
||||
// If we are running in production, sandbox the entire app
|
||||
// and set the app user model id for windows native notifications
|
||||
app.enableSandbox();
|
||||
app.setAppUserModelId('symphony_exe');
|
||||
|
||||
// need to set this explicitly if using Squirrel
|
||||
// https://www.electron.build/configuration/configuration#Configuration-squirrelWindows
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
"strictNullChecks": true,
|
||||
"noUnusedLocals": true,
|
||||
"noImplicitThis": true,
|
||||
"skipLibCheck": true,
|
||||
"noUnusedParameters": true,
|
||||
"typeRoots": ["node_modules/@types"]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user