To build the project, you must use the Developer Command Prompt for VS as an administrator. The build process defaults to 64-bit binaries. To build 32-bit binaries, set target_cpu to "x86" in flags.windows.gn or pass the --x86 argument to build.py.
Build Steps
- Clone the repository with submodules.
- Checkout a specific tag or branch (recommended to use a tag).
- Run the build and packaging scripts.
If the build fails during Chromium source download, remove build\download_cache. If it fails at any other point, remove everything in build except build\download_cache.
git clone --recurse-submodules https://github.com/ungoogled-software/ungoogled-chromium-windows.git
cd ungoogled-chromium-windows
# Replace TAG_OR_BRANCH_HERE with a tag or branch name
git checkout --recurse-submodules TAG_OR_BRANCH_HERE
python3 build.py
python3 package.py