mirror of
https://github.com/Microsoft/vscode
synced 2024-10-04 02:14:06 +00:00
chore: update electron@22.4.7 (#180276)
This commit is contained in:
parent
1766055db7
commit
d57d7ff4dc
|
@ -76,7 +76,7 @@ function darwinBundleDocumentTypes(types, icon) {
|
|||
});
|
||||
}
|
||||
exports.config = {
|
||||
version: product.electronRepository ? '22.4.5' : util.getElectronVersion(),
|
||||
version: product.electronRepository ? '22.4.7' : util.getElectronVersion(),
|
||||
productAppName: product.nameLong,
|
||||
companyName: 'Microsoft Corporation',
|
||||
copyright: 'Copyright (C) 2023 Microsoft. All rights reserved',
|
||||
|
@ -193,7 +193,7 @@ function getElectron(arch) {
|
|||
};
|
||||
}
|
||||
async function main(arch = process.arch) {
|
||||
const version = product.electronRepository ? '22.4.5' : util.getElectronVersion();
|
||||
const version = product.electronRepository ? '22.4.7' : util.getElectronVersion();
|
||||
const electronPath = path.join(root, '.build', 'electron');
|
||||
const versionFile = path.join(electronPath, '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 = {
|
||||
version: product.electronRepository ? '22.4.5' : util.getElectronVersion(),
|
||||
version: product.electronRepository ? '22.4.7' : util.getElectronVersion(),
|
||||
productAppName: product.nameLong,
|
||||
companyName: 'Microsoft Corporation',
|
||||
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> {
|
||||
const version = product.electronRepository ? '22.4.5' : util.getElectronVersion();
|
||||
const version = product.electronRepository ? '22.4.7' : util.getElectronVersion();
|
||||
const electronPath = path.join(root, '.build', 'electron');
|
||||
const versionFile = path.join(electronPath, 'version');
|
||||
const isUpToDate = fs.existsSync(versionFile) && fs.readFileSync(versionFile, 'utf8') === `${version}`;
|
||||
|
|
Loading…
Reference in a new issue