@@ -12,10 +12,11 @@ This is an overview of the steps needed to upgrade Chromium in Electron.
1212## Upgrade ` libcc ` to a new Chromium version
1313
14141 . Get the code and initialize the project:
15- - ``` sh
15+ ``` sh
1616 $ git clone git@github.com:electron/libchromiumcontent.git
1717 $ cd libchromiumcontent
18- $ ./script/bootstrap -v` ` `
18+ $ ./script/bootstrap -v
19+ ```
19202 . Update the Chromium snapshot
2021 - Choose a version number from [ OmahaProxy] ( https://omahaproxy.appspot.com/ )
2122 and update the ` VERSION ` file with it
@@ -47,18 +48,18 @@ This is an overview of the steps needed to upgrade Chromium in Electron.
4748## Update Electron's code
4849
49501 . Get the code:
50- - ` ` ` sh
51- $ git clone git@github.com:electron/electron.git
52- $ cd electron
53- ` ` `
51+ ``` sh
52+ $ git clone git@github.com:electron/electron.git
53+ $ cd electron
54+ ```
54552 . If you have libcc built on your machine in its own repo,
5556 tell Electron to use it:
56- - ` ` ` sh
57- $ ./script/bootstrap.py -v \
58- --libcc_source_path < libcc_folder> /src \
59- --libcc_shared_library_path < libcc_folder> /shared_library \
60- --libcc_static_library_path < libcc_folder> /static_library
61- ` ` `
57+ ``` sh
58+ $ ./script/bootstrap.py -v \
59+ --libcc_source_path < libcc_folder> /src \
60+ --libcc_shared_library_path < libcc_folder> /shared_library \
61+ --libcc_static_library_path < libcc_folder> /static_library
62+ ```
62633 . If you haven't yet built libcc but it's already supposed to be upgraded
6364 to a new Chromium, bootstrap Electron as usual
6465 ` $ ./script/bootstrap.py -v `
0 commit comments