Fetch the repository succeeded.
This action will force synchronization from cleefun/OhScrCpy, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
适用于 OpenHarmony 操作系统的投屏工具,参考了开源项目 Scrcpy 的设计和实现。目前项目非常简陋,只能算是一个 demo,仅实现了简单的投屏功能,欢迎 fork 和 pr 优化改进。
服务端
"base_group": [
"//foundation/window/window_manager/snapshot:snapshot_display",
"//foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_stage_napi:windowstage",
"//foundation/window/window_manager/interfaces/kits/napi:napi_packages",
"//foundation/window/window_manager/resources:window_resources",
"//foundation/window/window_manager/scrcpy:scrcpy_server"
]
# 首次编译,或修改了 bundle.json 的配置,需要完整编译部件
./build.sh --product-name=system_arm64_default --build-target=window_manager
# 已编译过,只修改了代码,可以使用快速编译指令
./build.sh --product-name=system_arm64_default --build-target=window_manager --fast-rebuild
客户端
将 launch.bat、scrcpy_server 和 OhScrCpy.exe 放在同一目录下,执行 launch.bat 即可。
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。