Soma Zambelly
Soma Zambelly

Reputation: 197

Repack PyInstaller exe after extracting

Is it possible to repack/rebuild a PyInstaller exe file after extracting the files from it using PyInstaller Extractor? I also decomplied most of the files with Easy Python Decomplier. I modified one .py file and I want the new exe file to contain this modified file. How can I repack the application?

Upvotes: 3

Views: 2255

Answers (1)

bakatrouble
bakatrouble

Reputation: 1844

You may leave all not modified files as *.pyc.

Once you have full modules structure ready, just find the original entrypoint and pack the bundle again, it should work.

Upvotes: 1

Related Questions