From 120b379ee9b5e6866b0513b51aed509172de3d59 Mon Sep 17 00:00:00 2001 From: Alexander David Frick Date: Thu, 2 Dec 2021 03:35:16 -0600 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 434f1de0..724664ab 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ _**The scripts assume the Chromium source is at $HOME/chromiums/src/. You may ha - Then, (from where you cloned this repo) run `./setup.sh`. This will copy all the files and patches to the needed locations and drop you to *//chromium/src*. - Run `export EDITOR=nano` & `export VISUAL=nano` *# You can substitute a cmdline editor like vim here, but many GUI editors cause it to try and parse the args.gn file before it is even saved.* - Run `gn args out/thorium` and the contents of 'args.gn' in this repo should be copy/pasted into the editor. *--Include your api keys here at the top or leave blank, and edit the last line to point to the actual path and file name of '*.profdata'* -- 'args.list' contains an alphabetical list with descriptions of all possible build arguments, GN_ARGS.LIST gives a similar list but with the flags in args.gn added. +- 'args.list' contains an alphabetical list with descriptions of all possible build arguments, GN_ARGS.list gives a similar list but with the flags in args.gn added. - To build, run `autoninja -j8 -C out/thorium chrome chrome_sandbox content_shell -d stats` *The -j# can be changed to limit or increase the number of jobs (generally should be the number of CPU cores on your machine), and the -d stats at the end just shows better verbose stats during compiling. You could also append chromedriver (the releases have chromedriver) after content_shell to build chromedriver, the selenium compatible browser fuzzing library.* - To install, copy/paste the contents of your *out/thorium* dir to a good location, i.e. *$HOME/bin/thorium*. **RECOMMENDED - Copy and run clean.sh within this dir to clean up build artifacts**. Then you can just run the browser with `~/bin/thorium/chrome`, the content_shell with `~/bin/thorium/content_shell`, or chromedriver with `~/bin/thorium/chromedriver`. - **Proper Install:** To install with a .deb, dont copy the contents of *out/thorium*; instead run
`autoninja -C out/thorium/ "chrome/installer/linux:unstable_deb"` A nice .deb file will now be in *out/thorium* and you can install it with `sudo dpkg -i *.deb` It will be called 'thorium-browser-unstable_$VERSIONNUMBER_amd64.deb', and will be installed to */opt/chromium.org/thorium-unstable/*. \