electron Use flatpak-spawn when in Flatpak

z4bn682m  于 6个月前  发布在  Electron
关注(0)|答案(2)|浏览(147)

预检清单

  • 我已阅读了此项目的 Contributing Guidelines
  • 我同意遵守此项目遵循的 Code of Conduct
  • 我在问题跟踪器中搜索了一个与我想提交的功能请求相匹配的问题,但没有成功。

问题描述

Electron 的沙箱在 Flatpak 下无法工作。 Zypak 可以作为替代方案,但它依赖于 LD_PRELOAD 的 hacks, which lead to bugs.

建议的解决方案

更好的解决方案是使用 flatpak-spawn,它是一种完全支持沙箱的 Flatpak 应用程序执行更紧密沙箱下的程序的方法。

考虑过的替代方案

不要在 Flatpak 下使用沙箱,或者无限期地依赖于 LD_PRELOAD

其他信息

- I have read the README for this project.
- I agree to follow the guidelines that this project adheres to.
- I have searched the issue tracker for a feature request that matches the one I want to file, without success.

相关问题