build: rename atom.rc to electron.rc (#23098)

This commit is contained in:
Samuel Attard 2020-04-13 14:28:59 -07:00 committed by GitHub
parent 714d6c536f
commit 0e86163a3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -1051,7 +1051,7 @@ if (is_mac) {
if (is_win) { if (is_win) {
sources += [ sources += [
# TODO: we should be generating our .rc files more like how chrome does # TODO: we should be generating our .rc files more like how chrome does
"shell/browser/resources/win/atom.rc", "shell/browser/resources/win/electron.rc",
"shell/browser/resources/win/resource.h", "shell/browser/resources/win/resource.h",
] ]

View file

@ -125,9 +125,9 @@ async function commitVersionBump (version) {
await GitProcess.exec(gitArgs, ELECTRON_DIR); await GitProcess.exec(gitArgs, ELECTRON_DIR);
} }
// updates atom.rc file with new semver values // updates electron.rc file with new semver values
async function updateWinRC (components) { async function updateWinRC (components) {
const filePath = path.resolve(ELECTRON_DIR, 'shell', 'browser', 'resources', 'win', 'atom.rc'); const filePath = path.resolve(ELECTRON_DIR, 'shell', 'browser', 'resources', 'win', 'electron.rc');
const data = await readFile(filePath, 'utf8'); const data = await readFile(filePath, 'utf8');
const arr = data.split('\n'); const arr = data.split('\n');
arr.forEach((line, idx) => { arr.forEach((line, idx) => {