You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Choose a version number from [OmahaProxy](https://omahaproxy.appspot.com/) and update the `VERSION` file with it
20
+
- Choose a version number from [OmahaProxy](https://omahaproxy.appspot.com/)
21
+
and update the `VERSION` file with it
22
22
- This can be done manually by visiting OmahaProxy in a browser, or automatically:
23
23
- One-liner for the latest stable mac version: `curl -so- https://omahaproxy.appspot.com/mac > VERSION`
24
24
- One-liner for the latest win64 beta version: `curl -so- https://omahaproxy.appspot.com/all | grep "win64,beta"| awk -F, 'NR==1{print $3}'> VERSION`
25
25
- run `$ ./script/update`
26
26
- Time to brew some tea -- this may run for 30m or more.
27
27
- It will probably fail applying patches.
28
-
3. Fix `*.patch` files in the `/patches` and `/patches-mas` folders.
29
-
4. (Optional) Run a separate script to apply patches (`script/update` uses it internally):
28
+
3. Fix `*.patch` files in the `patches/` and `patches-mas/` folders.
29
+
4. (Optional) Run a separate script to apply patches
30
+
(`script/update` uses it internally):
30
31
- `$ ./script/apply-patches`
31
32
- There is also another script `/script/patch.py` that could be more useful
32
33
- Check `--help` to learn how it works with `$ ./script/patch.py -h`
33
34
5. Run the build when all patches can be applied without errors
34
35
- `$ ./script/build`
35
-
- If some patches are no longer compatible with the Chromium code, fix compilation errors.
36
+
- If some patches are no longer compatible with the Chromium code,
37
+
fix compilation errors.
36
38
6. When build succeeds, create a `dist`for Electron
37
39
- `$ ./script/create-dist --no_zip`
38
40
- It will create `dist/main` folder in the root of the libcc repo
39
41
- You will need it to build Electron.
40
-
7. (Optional) Update script contents if there are errors resultant of some files being removed or renamed. (`--no_zip` prevents script from create `dist` archives, you don't need them.)
42
+
7. (Optional) Update script contents if there are errors resulting from files
43
+
being removed or renamed. (`--no_zip` prevents script from create `dist`
44
+
archives, you don't need them.)
41
45
42
46
43
-
## Update Electron Code
47
+
## Update Electron's code
44
48
45
49
1. Get the code:
46
50
- ```sh
47
-
$ git clone git@github.com:electron/electron.git
48
-
$ cd electron
49
-
```
50
-
2. If you already have libcc built on you machine in its own repo, you need to tell Electron explicitly to use it:
51
+
$ git clone git@github.com:electron/electron.git
52
+
$ cd electron
53
+
```
54
+
2. If you have libcc built on your machine in its own repo,
@@ -105,9 +118,12 @@ used in the new Chromium release. See the v8 versions in Node on
105
118
See [Upgrading Node](https://github.com/electron/electron/tree/master/docs/development/upgrading-node.md)
106
119
for instructions on this.
107
120
108
-
## Verify ffmpeg Support
121
+
## Verify ffmpeg support
109
122
110
-
Electron ships with a version of `ffmpeg` that includes proprietary codecs by default. A version without these codecs is built and distributed with each release as well. Each Chrome upgrade should verify that switching this version is still supported.
123
+
Electron ships with a version of `ffmpeg` that includes proprietary codecs by
124
+
default. A version without these codecs is built and distributed with each
125
+
release as well. Each Chrome upgrade should verify that switching this version
126
+
is still supported.
111
127
112
128
You can verify Electron's support for multiple `ffmpeg` builds by loading the
113
129
following page. It should work with the default `ffmpeg` library distributed
0 commit comments