python-eel/Eel

build with electron and make main.js file hidden

Open

#607 aperta il 8 set 2022

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Python (570 fork)batch import
help wanted

Metriche repository

Star
 (5980 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Question:

How can I build my project with electron and hide the main.js file? and is it possible to also hide the files in the web folder (html, CSS and JavaScript files)?

Problem:

I am building my project with PyInstaller. The only way that I can run my code is when I use --add-data="main.js;." but the the issue is that the main.js file will not be binary (or hidden)

Code snippet(s):

python -m eel --add-data="main.js;." main.py web

Guida contributor