# HSBrowser **Repository Path**: duocore/hsbrowser ## Basic Information - **Project Name**: HSBrowser - **Description**: chromium浏览器extensions api使用样例。 - **Primary Language**: Unknown - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-01-24 - **Last Updated**: 2022-05-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # HSBrowser #### 介绍 chromium浏览器extensions api使用样例。 #### 软件架构 软件架构说明 #### 安装教程 按照https://chromium.googlesource.com/chromium/src/+/main/docs/windows_build_instructions.md 的说明下载源码。 先不要编译,我们希望在一个稳定的Release上修改。 这里把源码切换到96.0.4664.137这个tags版本,本地分支我们命名为hs_release_branch ======hs_release_branch====== //Syncing and building a release tag //Releases are tagged in git with the release version number. //Note: You cannot commit to a release tag. This is purely for acquiring the sources that went into a release build. //Make sure you have all the release tag information in your checkout. git fetch --tags //Checkout whatever version you need (known versions can be seen with 'git show-ref --tags') //创建一个本地branch: hs_release_branch,对应tags/96.0.4664.137 //如报错Please commit your changes or stash them before you switch branches. //是因为本地已经有修改。可以先保存修改到另外的目录,然后revert一下。 git checkout -b hs_release_branch tags/96.0.4664.137 gclient sync --with_branch_heads --with_tags //Then build as normal. //gn一个新的out目录。 cd /d E:\src\chromium\src gn gen out/b4664 --args="is_debug = false" ======上面只需要执行一次======== cd /d E:\src\chromium\src autoninja -C out\b4664 chrome #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)