Update to electron@18.1.0

This commit is contained in:
Fedor Indutny 2022-04-25 13:58:01 -07:00 committed by GitHub
parent 40f16b98e2
commit 5f3a62cbb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 20 additions and 21 deletions

View file

@ -27,7 +27,7 @@ jobs:
- name: Setup node.js - name: Setup node.js
uses: actions/setup-node@v2 uses: actions/setup-node@v2
with: with:
node-version: '16.13.0' node-version: '16.13.2'
- name: Install global dependencies - name: Install global dependencies
run: npm install -g yarn@1.22.10 run: npm install -g yarn@1.22.10

View file

@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-node@v2 - uses: actions/setup-node@v2
with: with:
node-version: '16.13.0' node-version: '16.13.2'
- run: npm install -g yarn@1.22.10 - run: npm install -g yarn@1.22.10
- name: Cache Desktop node_modules - name: Cache Desktop node_modules
@ -50,7 +50,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-node@v2 - uses: actions/setup-node@v2
with: with:
node-version: '16.13.0' node-version: '16.13.2'
- run: npm install -g yarn@1.22.10 - run: npm install -g yarn@1.22.10
- name: Cache Desktop node_modules - name: Cache Desktop node_modules
@ -88,7 +88,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-node@v2 - uses: actions/setup-node@v2
with: with:
node-version: '16.13.0' node-version: '16.13.2'
- run: sudo apt-get install xvfb - run: sudo apt-get install xvfb
- run: npm install -g yarn@1.22.10 - run: npm install -g yarn@1.22.10
@ -129,7 +129,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-node@v2 - uses: actions/setup-node@v2
with: with:
node-version: '16.13.0' node-version: '16.13.2'
- run: npm install -g yarn@1.22.10 - run: npm install -g yarn@1.22.10
- name: Cache Desktop node_modules - name: Cache Desktop node_modules
@ -175,7 +175,7 @@ jobs:
- name: Setup node.js - name: Setup node.js
uses: actions/setup-node@v2 uses: actions/setup-node@v2
with: with:
node-version: '16.13.0' node-version: '16.13.2'
- name: Install global dependencies - name: Install global dependencies
run: npm install -g yarn@1.22.10 run: npm install -g yarn@1.22.10

2
.nvmrc
View file

@ -1 +1 @@
16.13.0 16.13.2

View file

@ -489,7 +489,6 @@ async function createWindow() {
__dirname, __dirname,
usePreloadBundle ? '../preload.bundle.js' : '../preload.js' usePreloadBundle ? '../preload.bundle.js' : '../preload.js'
), ),
nativeWindowOpen: true,
spellcheck: await getSpellCheckSetting(), spellcheck: await getSpellCheckSetting(),
backgroundThrottling: isThrottlingEnabled, backgroundThrottling: isThrottlingEnabled,
enablePreferredSizeMode: true, enablePreferredSizeMode: true,

View file

@ -221,7 +221,7 @@
"@types/mkdirp": "0.5.2", "@types/mkdirp": "0.5.2",
"@types/mocha": "9.0.0", "@types/mocha": "9.0.0",
"@types/mustache": "4.1.2", "@types/mustache": "4.1.2",
"@types/node": "16.11.26", "@types/node": "16.11.29",
"@types/node-fetch": "2.5.7", "@types/node-fetch": "2.5.7",
"@types/node-forge": "0.9.5", "@types/node-forge": "0.9.5",
"@types/normalize-path": "3.0.0", "@types/normalize-path": "3.0.0",
@ -264,7 +264,7 @@
"cross-env": "5.2.0", "cross-env": "5.2.0",
"css-loader": "3.2.0", "css-loader": "3.2.0",
"debug": "4.3.3", "debug": "4.3.3",
"electron": "17.3.1", "electron": "18.1.0",
"electron-builder": "23.0.1", "electron-builder": "23.0.1",
"electron-mocha": "11.0.2", "electron-mocha": "11.0.2",
"electron-notarize": "0.1.1", "electron-notarize": "0.1.1",
@ -309,7 +309,7 @@
"sharp/color/color-string": "1.7.4" "sharp/color/color-string": "1.7.4"
}, },
"engines": { "engines": {
"node": "16.13.0" "node": "16.13.2"
}, },
"build": { "build": {
"appId": "org.whispersystems.signal-desktop", "appId": "org.whispersystems.signal-desktop",

View file

@ -2259,15 +2259,15 @@
dependencies: dependencies:
"@types/node" "*" "@types/node" "*"
"@types/node@*", "@types/node@^14.6.2": "@types/node@*":
version "14.14.37" version "14.14.37"
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.37.tgz#a3dd8da4eb84a996c36e331df98d82abd76b516e" resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.37.tgz#a3dd8da4eb84a996c36e331df98d82abd76b516e"
integrity sha512-XYmBiy+ohOR4Lh5jE379fV2IU+6Jn4g5qASinhitfyO71b/sCo6MKsMLF5tc7Zf2CE8hViVQyYSobJNke8OvUw== integrity sha512-XYmBiy+ohOR4Lh5jE379fV2IU+6Jn4g5qASinhitfyO71b/sCo6MKsMLF5tc7Zf2CE8hViVQyYSobJNke8OvUw==
"@types/node@16.11.26": "@types/node@16.11.29", "@types/node@^16.11.26":
version "16.11.26" version "16.11.29"
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.11.26.tgz#63d204d136c9916fb4dcd1b50f9740fe86884e47" resolved "https://registry.yarnpkg.com/@types/node/-/node-16.11.29.tgz#2422b0bf46afb2568dc71df903afa36f56bab8ea"
integrity sha512-GZ7bu5A6+4DtG7q9GsoHXy3ALcgeIHP4NnL0Vv2wu0uUB/yQex26v0tf6/na1mm0+bS9Uw+0DFex7aaKr2qawQ== integrity sha512-9dDdonLyPJQJ/kdOlDxAah+bTI+u2ccF3k62FErhquDuggoCX6piWez7j7o6yNE+rP2IRcZVQ6Tw4N0P38+rWA==
"@types/node@>=13.7.0": "@types/node@>=13.7.0":
version "17.0.17" version "17.0.17"
@ -6174,13 +6174,13 @@ electron-window@^0.8.0:
dependencies: dependencies:
is-electron-renderer "^2.0.0" is-electron-renderer "^2.0.0"
electron@17.3.1: electron@18.1.0:
version "17.3.1" version "18.1.0"
resolved "https://registry.yarnpkg.com/electron/-/electron-17.3.1.tgz#083b6bd034eb1ee7d75378316d6460348eb62605" resolved "https://registry.yarnpkg.com/electron/-/electron-18.1.0.tgz#d92b76f301af1a8728adff8d6eeb42382e218fe8"
integrity sha512-C5E3uvXo1cmI+xYtbiMCW8AAGhBL0HbLA6cqD7FJmBoPtY88W/3A/km5z8oPGORyBNgSe7tSoHx4a6jWJIR+og== integrity sha512-P55wdHNTRMo7a/agC84ZEZDYEK/pTBcQdlp8lFbHcx3mO4Kr+Im/J5p2uQgiuXtown31HqNh2paL3V0p+E6rpQ==
dependencies: dependencies:
"@electron/get" "^1.13.0" "@electron/get" "^1.13.0"
"@types/node" "^14.6.2" "@types/node" "^16.11.26"
extract-zip "^1.0.3" extract-zip "^1.0.3"
elliptic@^6.0.0: elliptic@^6.0.0: