Skip to content
This repository was archived by the owner on Jun 22, 2025. It is now read-only.
This repository was archived by the owner on Jun 22, 2025. It is now read-only.

build with electron and make main.js file hidden #607

Description

@ibrahimaljalal

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions