Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

为渲染进程添加字节码保护 Add Bytenode Protection for Renderer Process #692

Open
4 tasks done
NotYoojun opened this issue Jan 8, 2025 · 0 comments
Open
4 tasks done
Labels
enhancement New feature or request

Comments

@NotYoojun
Copy link

NotYoojun commented Jan 8, 2025

Clear and concise description of the problem

我们公司的很多软件主要逻辑都在渲染进程里面,涉及到图形绘制和 threejs 的,所以是没办法移到主进程里面来的。但是现在你们的字节码插件并不能保护渲染进程,故请求为渲染进程添加字节码保护功能。

Suggested solution

electron-forge webpack 可以搭配 @herberttn/bytenode-webpack-plugin 插件实现对所有模块的字节码保护。

Alternative

No response

Additional context

理论上只需要将 nodeIntegration 设置为 true 时字节码加密就可以在渲染进程上使用。bytenode/bytenode#105

Validations

@NotYoojun NotYoojun added the enhancement New feature or request label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant