4 Star 1 Fork 0

davidhuangxc / CefGlue.AvaloniaBrowser

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

CefGlue.AvaloniaBrowser

1.使用Xilium.CefGlue做的一个基于avalonia框架的cef浏览器控件 2.使用的cef版本是102.0.10 。 3.可以在Windows和Linux系统(桌面环境)下面跑起来,这个版本在Windows x64环境和Linux x64环境可以运行起来,但在linux arm64环境下没能跑起来(感觉是cef库文件libcef.so的问题),但将cefglue这个C#工程的代码降级到cef的101.0.15版本就能在Linux arm64的桌面环境中运行起来,展示的程序运行窗口效果和Windows下一致,macos因为没有环境进行测试验证,所以macos环境时未经验证。 4.debug的时候,将下载的对应cef版本(102.0.10)Release目录下的所有文件复制到debug目录下,同时也需要把cef的Resource目录下的资源文件也复制到debug目录下。 5.提供了最基本的javascript调用C#类里面方法的实现。 6.处理了中文输入的问题,部分代码借助了cefnet的实现 7.项目是基于https://github.com/VitalElement/CefGlue.Core 改造而来 8. 程序的运行界面(Windows系统),Linux系统下能展示窗口界面,但不能显示调试工具界面 image

MIT License Copyright (c) 2023 DavidHuangXC Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

封装的基于avalonia跨平台gui框架做的chromium浏览器控件,支持JavaScript和C#互相调用 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/davidhuangxc/CefGlue.AvaloniaBrowser.git
git@gitee.com:davidhuangxc/CefGlue.AvaloniaBrowser.git
davidhuangxc
CefGlue.AvaloniaBrowser
CefGlue.AvaloniaBrowser
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891