feat: 添加 Chrome 浏览器支持和安装说明折叠 (#67)
* feat: 添加 Chrome 浏览器支持和安装说明折叠 - 支持 Chrome 浏览器作为备选方案 - README 安装部分使用 details 标签折叠 - 优化浏览器配置和初始化逻辑 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> * docs: 更新 README.md 以包含 Windows 问题和登录部分说明 - 添加 Windows 问题的链接以供参考 - 更新 README 中的登录部分内容 --------- Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -2,6 +2,8 @@ package configs
|
||||
|
||||
var (
|
||||
useHeadless = true
|
||||
|
||||
binPath = ""
|
||||
)
|
||||
|
||||
func InitHeadless(h bool) {
|
||||
@@ -12,3 +14,11 @@ func InitHeadless(h bool) {
|
||||
func IsHeadless() bool {
|
||||
return useHeadless
|
||||
}
|
||||
|
||||
func SetBinPath(b string) {
|
||||
binPath = b
|
||||
}
|
||||
|
||||
func GetBinPath() string {
|
||||
return binPath
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user