chore: update electron@22.3.10 (#183116)

This commit is contained in:
Robo
2023-05-22 23:34:36 +09:00
committed by GitHub
parent 750eebba73
commit ced29a4346
6 changed files with 12 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
disturl "https://electronjs.org/headers" disturl "https://electronjs.org/headers"
target "22.3.5" target "22.3.10"
runtime "electron" runtime "electron"
build_from_source "true" build_from_source "true"

View File

@@ -76,7 +76,7 @@ function darwinBundleDocumentTypes(types, icon) {
}); });
} }
exports.config = { exports.config = {
version: product.electronRepository ? '22.5.2' : util.getElectronVersion(), version: product.electronRepository ? '22.5.3' : util.getElectronVersion(),
productAppName: product.nameLong, productAppName: product.nameLong,
companyName: 'Microsoft Corporation', companyName: 'Microsoft Corporation',
copyright: 'Copyright (C) 2023 Microsoft. All rights reserved', copyright: 'Copyright (C) 2023 Microsoft. All rights reserved',
@@ -193,7 +193,7 @@ function getElectron(arch) {
}; };
} }
async function main(arch = process.arch) { async function main(arch = process.arch) {
const version = product.electronRepository ? '22.5.2' : util.getElectronVersion(); const version = product.electronRepository ? '22.5.3' : util.getElectronVersion();
const electronPath = path.join(root, '.build', 'electron'); const electronPath = path.join(root, '.build', 'electron');
const versionFile = path.join(electronPath, 'version'); const versionFile = path.join(electronPath, 'version');
const isUpToDate = fs.existsSync(versionFile) && fs.readFileSync(versionFile, 'utf8') === `${version}`; const isUpToDate = fs.existsSync(versionFile) && fs.readFileSync(versionFile, 'utf8') === `${version}`;

View File

@@ -91,7 +91,7 @@ function darwinBundleDocumentTypes(types: { [name: string]: string | string[] },
} }
export const config = { export const config = {
version: product.electronRepository ? '22.5.2' : util.getElectronVersion(), version: product.electronRepository ? '22.5.3' : util.getElectronVersion(),
productAppName: product.nameLong, productAppName: product.nameLong,
companyName: 'Microsoft Corporation', companyName: 'Microsoft Corporation',
copyright: 'Copyright (C) 2023 Microsoft. All rights reserved', copyright: 'Copyright (C) 2023 Microsoft. All rights reserved',
@@ -212,7 +212,7 @@ function getElectron(arch: string): () => NodeJS.ReadWriteStream {
} }
async function main(arch = process.arch): Promise<void> { async function main(arch = process.arch): Promise<void> {
const version = product.electronRepository ? '22.5.2' : util.getElectronVersion(); const version = product.electronRepository ? '22.5.3' : util.getElectronVersion();
const electronPath = path.join(root, '.build', 'electron'); const electronPath = path.join(root, '.build', 'electron');
const versionFile = path.join(electronPath, 'version'); const versionFile = path.join(electronPath, 'version');
const isUpToDate = fs.existsSync(versionFile) && fs.readFileSync(versionFile, 'utf8') === `${version}`; const isUpToDate = fs.existsSync(versionFile) && fs.readFileSync(versionFile, 'utf8') === `${version}`;

View File

@@ -528,12 +528,12 @@
"git": { "git": {
"name": "electron", "name": "electron",
"repositoryUrl": "https://github.com/electron/electron", "repositoryUrl": "https://github.com/electron/electron",
"commitHash": "0b17a201195ae6445e11cee50e436a3511717600" "commitHash": "b07f2f0f42a1483cd2e5ec8fa3c77ebaa0507069"
} }
}, },
"isOnlyProductionDependency": true, "isOnlyProductionDependency": true,
"license": "MIT", "license": "MIT",
"version": "22.3.5" "version": "22.3.10"
}, },
{ {
"component": { "component": {

View File

@@ -142,7 +142,7 @@
"cssnano": "^4.1.11", "cssnano": "^4.1.11",
"debounce": "^1.0.0", "debounce": "^1.0.0",
"deemon": "^1.8.0", "deemon": "^1.8.0",
"electron": "22.3.5", "electron": "22.3.10",
"eslint": "8.36.0", "eslint": "8.36.0",
"eslint-plugin-header": "3.1.1", "eslint-plugin-header": "3.1.1",
"eslint-plugin-jsdoc": "^39.3.2", "eslint-plugin-jsdoc": "^39.3.2",

View File

@@ -3526,10 +3526,10 @@ electron-to-chromium@^1.4.202:
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.207.tgz#9c3310ebace2952903d05dcaba8abe3a4ed44c01" resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.207.tgz#9c3310ebace2952903d05dcaba8abe3a4ed44c01"
integrity sha512-piH7MJDJp4rJCduWbVvmUd59AUne1AFBJ8JaRQvk0KzNTSUnZrVXHCZc+eg+CGE4OujkcLJznhGKD6tuAshj5Q== integrity sha512-piH7MJDJp4rJCduWbVvmUd59AUne1AFBJ8JaRQvk0KzNTSUnZrVXHCZc+eg+CGE4OujkcLJznhGKD6tuAshj5Q==
electron@22.3.5: electron@22.3.10:
version "22.3.5" version "22.3.10"
resolved "https://registry.yarnpkg.com/electron/-/electron-22.3.5.tgz#a53a318cbb25a44914dfedd30a9ad6120632197f" resolved "https://registry.yarnpkg.com/electron/-/electron-22.3.10.tgz#bf2b98fbb452f41b057ffcd4e57678e363f9735c"
integrity sha512-CTdnoTbO3sDiMv47TX3ZO640Ca57v1qpiqGChFF8oZbtfHuQjTPPaE4hsoynf22wwnBiyJNL41DpB/pfp9USnA== integrity sha512-gh7PtSh+rfxHfM4dzPiEO+k1NRo07FvaK/jXG3HzuODrpTTEhC9rsE+AJGrTKQU6Nz7GorseMvnvs8PnUQPPTw==
dependencies: dependencies:
"@electron/get" "^2.0.0" "@electron/get" "^2.0.0"
"@types/node" "^16.11.26" "@types/node" "^16.11.26"