deepx-code
deepx-code copied to clipboard
✨ 在鸿蒙PC中使用需要禁止sandbox
提交前确认 / Preflight
- [x] 我已搜索过 issues,没有重复 / I searched existing issues and found no duplicate
想解决什么问题 / What problem does this solve
由于鸿蒙PC原生编译的golang应用的target还是linux,在deepx启动时sandbox默认是native,需要linux的landlock支持,但harmonyos内核没有landlock,所以启动时会出现SIGSYS: bad system call traceback,所以需要在meta.json中关闭sandbox。
期望的方案 / Proposed solution
是否可以在编译时提供编译选项关闭sandbox功能,或者更新readme完善鸿蒙PC的使用帮助。
备选方案 / Alternatives
No response
@shenyongqing 很遗憾,我个人没有鸿蒙的电脑进行测试验证,如果你感兴趣的话,可以尝试修改源码试试,欢迎PR