We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
bytecodePlugin
Create from official template and add bytecodePlugin
export default defineConfig({ main: { plugins: [externalizeDepsPlugin(), bytecodePlugin({ protectedStrings: ['pong'] })] }, //... })
in generated .jsc file, the pong is shown vertically
.jsc
pong
2.3.0
28.2.10
5.3.1
The text was updated successfully, but these errors were encountered:
What is your source code?
Sorry, something went wrong.
Just the template: https://github.com/alex8088/quick-start/blob/17aaa8c5b8f9def5dbf3f88c55ac8b17408544e2/packages/create-electron/playground/vue-ts/src/main/index.ts#L53
If string is long (like primary key), it is much easier to recognize
Did some research and successfully obfuscate the string. see in subframe7536/electron-incremental-update@961893d
The bytecodePlugin is not work for me, too. I just add one password string into protectedStrings like this
main: { plugins: [externalizeDepsPlugin(), bytecodePlugin({ protectedStrings: [my_password] })] },
But I still found my_password string in index.jsc file easily. I've read documents and sure that build.minify is disabled.
No branches or pull requests
Describe the bug
Create from official template and add bytecodePlugin
in generated
.jsc
file, thepong
is shown verticallyElectron-Vite Version
2.3.0
Electron Version
28.2.10
Vite Version
5.3.1
Validations
The text was updated successfully, but these errors were encountered: