Skip to content

amingclawdev/mychrome-patches

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MyChrome – Engineering Patch Set

我的定制 Chrome 内核补丁集(工程版)

This repository provides production-grade scripts and patches to reproduce a custom Chromium-based browser (MyChrome) on top of Chromium 134.0.6954.0.

本仓库提供工程级脚本与补丁,用于在 Chromium 134.0.6954.0 上重建 MyChrome 私有内核。


Version

版本

  • Current browser: web3toolbox customized browser v1.0.0
  • 当前浏览器:web3toolbox 定制浏览器 v1.0.0

1. Target Chromium Version

目标 Chromium 版本

  • Chromium: 134.0.6954.0
  • Base commit: 607658e92b3e7

All patches are designed for this exact commit. If your source tree is not at this commit, patch verification or application may fail.

所有补丁均基于该提交点。若源码版本不一致,验证或应用可能失败。


2. Prerequisites

前置条件

  • Windows PowerShell 5.1 or PowerShell 7
  • Git (in PATH)
  • depot_tools (for fetching Chromium)

3. Fetch Chromium Source

获取 Chromium 源码

git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
set PATH=%CD%\depot_tools;%PATH%

mkdir chromium && cd chromium
fetch chromium
cd src
git checkout -b chromium-134 607658e92b3e7

4. Verify Patch Applicability

验证补丁是否可应用

The verify script works regardless of where the Chromium source is located. Just pass the src directory path.

verify 脚本与源码路径无关,只需传入 Chromium 的 src 目录即可。

Set-ExecutionPolicy -Scope Process Bypass
.\verify.ps1 -Src "D:\path\to\chromium\src"

5. Apply MyChrome Patches

应用 MyChrome 补丁

Set-ExecutionPolicy -Scope Process Bypass
.\apply.ps1 -Src "D:\path\to\chromium\src"

6. Build Installer

生成安装包

gn gen out\Release
ninja -C out\Release mini_installer

Output:

out\Release\mini_installer.exe

7. Repository Layout

目录结构

apply.ps1        # Apply patches to any Chromium src path
verify.ps1       # Verify patches can be applied cleanly
patches/         # Patch files (ordered by name)

8. License

许可证

This project is licensed under the Apache License 2.0. See LICENSE.

本项目采用 Apache License 2.0 许可。详见 LICENSE

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors