python-eel/Eel

build with electron and make main.js file hidden

オープン

#607 opened on 2022/09/08

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Python (570 件のフォーク)batch import
help wanted

Repository metrics

Stars
 (5,980 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド