Medstar117 / cnc3-origin-mod-installer

A simplistic mod installer for Command and Conquer 3 (mainly for Origin users)
Other
5 stars 1 forks source link

Executable Size Is Very Large/ Admin Required to Run #1

Closed Medstar117 closed 5 years ago

Medstar117 commented 5 years ago

The size of the executable is way too big for something so simple. The issue may be tied to PyInstaller including imports that aren't necessary to the launcher's functionality.

Also, the executable requires admin-level permissions in order to run; to my knowledge, there shouldn't be anything within the code that requires those permissions.

I will be testing out some stuff on my end--maybe using some sort of virtual environment to minimize what to include.

Medstar117 commented 5 years ago

Executable size has been reduced to under 30MB; I added a few options to PyInstaller and that seemed to do the trick. (thanks auto-py-to-exe!).

As for the issue regarding Admin privileges, I believe it is needed since the launcher automatically searches all connected drives for the game executables and is copying items from directory to directory. If anyone discovers otherwise and finds a way around needing Admin privileges, feel free to post a PR about it and I will look into it; but as for right now, I will be closing this issue.