mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 00:28:52 +01:00
chore: update electron@22.5.5 (#184115)
This commit is contained in:
@@ -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}`;
|
||||||
|
|||||||
Reference in New Issue
Block a user