reZach / secure-electron-template

The best way to build Electron apps with security in mind.
MIT License
1.64k stars 151 forks source link

Not secure app, able to content of files after building app #144

Open learncodingforweb opened 1 year ago

learncodingforweb commented 1 year ago

just download template as zip file and perform followings steps

npm i
npm run dist

Operating system: Linux notebook 5.19.0-41-generic #42~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 18 17:40:00 UTC 2 x86_64 x86_64 x86_64 GNU/Linux Version of the template: v22.0.0

Then go to folder cd secure-electron-template-master/dist/linux-unpacked/resources/ after that npx asar extract app.asar test.

Inside test folder, I am able to each and every file of electronjs and react app. Then what is secure?

douglascayers commented 12 months ago

Hi @learncodingforweb, this template is about implementing Electron's Security Best Practices. It's not, however, about hiding your app's source code.

Per the first sentence of this project's README, the author states:

If you are curious about what makes an electron app secure, please check out this page