python-eel / Eel

A little Python library for making simple Electron-like HTML/JS GUI apps
MIT License
6.44k stars 587 forks source link

Using PyArmor with Eel #555

Open taytanqbpass opened 2 years ago

taytanqbpass commented 2 years ago

Hi, first time using pyarmor, trying to make it work with Eel. Currently I use "python -m eel main.py web --onefile --icon icon.ico" to distribute my app (before having pyarmor). How do I approach this with pyarmor? Thanks.

Here's what I've tried so far:

  1. Obfuscate scripts with pyarmor using "pyarmor obfuscate main.py"
  2. Copy my web folder to the location of the obfuscated scripts
  3. Run "python -m eel main.py web --onefile --icon icon.ico"
  4. Copy pytransform folder to the dist folder made by step 3
  5. Open the exe file
  6. Errors regarding missing packages pop-up

    • OS: Windows 10 64-Bit
    • Browser: Chrome