alex8088 / electron-vite

Next generation Electron build tooling based on Vite 新一代 Electron 开发构建工具,支持源代码保护
https://electron-vite.org
MIT License
3.56k stars 153 forks source link

Question,not bug,about bytecodePlugin #594

Closed xiatian12345 closed 3 months ago

xiatian12345 commented 3 months ago

Describe the bug

  1. build windows platform application
  2. use asar extract app.asar,unzip the resources
  3. find this codes ├── main │   ├── bytecode-loader.cjs │   ├── index.js │   └── index.jsc ├── preload │   ├── bytecode-loader.cjs │   ├── index.js │   └── index.jsc
  4. i found bytecode-loader.cjs is plaintext,is other people can decode my index.cjs?

Electron-Vite Version

2.3.0

Electron Version

v31.2.1

Vite Version

5.4.1

Validations

alex8088 commented 3 months ago

No, your source code is in the jsc file.