Upgrade to Electron 8

Co-authored-by: Scott Nonnenberg <scott@signal.org>
This commit is contained in:
Ken Powers 2020-02-19 16:48:41 -05:00 committed by Scott Nonnenberg
parent f0028a5cfe
commit 2f9bebe567
7 changed files with 3165 additions and 160 deletions

2
.nvmrc
View file

@ -1 +1 @@
12.4.0
12.13.0

View file

@ -1,6 +1,6 @@
language: node_js
node_js:
- '12.4.0'
- '12.13.0'
os:
- linux
dist: trusty

View file

@ -8,7 +8,7 @@ cache:
install:
- systeminfo | findstr /C:"OS"
- set PATH=C:\Ruby23-x64\bin;%PATH%
- ps: Install-Product node 12.4.0 x64
- ps: Install-Product node 12.13.0 x64
- ps: .\build\install-yarn.ps1
- yarn install --frozen-lockfile

View file

@ -203,8 +203,8 @@
"cross-env": "5.2.0",
"css-loader": "3.2.0",
"dashdash": "1.14.1",
"electron": "6.1.4",
"electron-builder": "21.2.0",
"electron": "8.0.1",
"electron-builder": "22.3.2",
"electron-icon-maker": "0.0.3",
"eslint": "4.14.0",
"eslint-config-airbnb-base": "12.1.0",
@ -250,7 +250,7 @@
"webpack-dev-server": "3.8.0"
},
"engines": {
"node": "12.4.0"
"node": "12.13.0"
},
"build": {
"appId": "org.whispersystems.signal-desktop",

View file

@ -1,13 +1,13 @@
diff --git a/node_modules/app-builder-lib/out/targets/LinuxTargetHelper.js b/node_modules/app-builder-lib/out/targets/LinuxTargetHelper.js
index b4533a9..13241f5 100644
index 6e674b9..8e5be4f 100644
--- a/node_modules/app-builder-lib/out/targets/LinuxTargetHelper.js
+++ b/node_modules/app-builder-lib/out/targets/LinuxTargetHelper.js
@@ -129,7 +129,7 @@ class LinuxTargetHelper {
exec = `"${exec}"`;
@@ -135,7 +135,7 @@ class LinuxTargetHelper {
exec += executableArgs.join(" ");
}
- exec += " %U";
+ exec += " --no-sandbox %U";
}
const desktopMeta = Object.assign({
const desktopMeta = Object.assign(Object.assign({

File diff suppressed because it is too large Load diff

710
yarn.lock

File diff suppressed because it is too large Load diff