зеркало из https://github.com/electron/electron.git
build: rename atom.rc to electron.rc (#23098)
This commit is contained in:
Родитель
714d6c536f
Коммит
0e86163a3e
2
BUILD.gn
2
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",
|
||||
]
|
||||
|
||||
|
|
|
@ -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) => {
|
||||
|
|
Загрузка…
Ссылка в новой задаче