Browse Source

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

Samuel Attard 5 years ago
parent
commit
0e86163a3e
3 changed files with 3 additions and 3 deletions
  1. 1 1
      BUILD.gn
  2. 2 2
      script/release/version-bumper.js
  3. 0 0
      shell/browser/resources/win/electron.rc

+ 1 - 1
BUILD.gn

@@ -1051,7 +1051,7 @@ if (is_mac) {
     if (is_win) {
       sources += [
         # 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",
       ]
 

+ 2 - 2
script/release/version-bumper.js

@@ -125,9 +125,9 @@ async function commitVersionBump (version) {
   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) {
-  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 arr = data.split('\n');
   arr.forEach((line, idx) => {

+ 0 - 0
shell/browser/resources/win/atom.rc → shell/browser/resources/win/electron.rc