mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
chore: update electron@22.5.5 (#184115)
This commit is contained in:
parent
a9fe660ce6
commit
0c1e34fa4e
|
@ -76,7 +76,7 @@ function darwinBundleDocumentTypes(types, icon) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
exports.config = {
|
exports.config = {
|
||||||
version: product.electronRepository ? '22.5.4' : util.getElectronVersion(),
|
version: product.electronRepository ? '22.5.5' : 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.4' : util.getElectronVersion();
|
const version = product.electronRepository ? '22.5.5' : 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}`;
|
||||||
|
|
|
@ -91,7 +91,7 @@ function darwinBundleDocumentTypes(types: { [name: string]: string | string[] },
|
||||||
}
|
}
|
||||||
|
|
||||||
export const config = {
|
export const config = {
|
||||||
version: product.electronRepository ? '22.5.4' : util.getElectronVersion(),
|
version: product.electronRepository ? '22.5.5' : 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.4' : util.getElectronVersion();
|
const version = product.electronRepository ? '22.5.5' : 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}`;
|
||||||
|
|
Loading…
Reference in a new issue