File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,13 @@ If you need help with anything you can contact the creator of this repository di
41
41
42
42
### Windows
43
43
44
- ` pyinstaller --noconsole --onefile --icon="Media/legacy-mod-converter.ico" --collect-all="cortex_command_mod_converter_engine" --add-data="Media/github-icon.png;Media" --add-data="Media/discord-icon.png;Media" --add-data="Media/finish.wav;Media" --add-data="I:/Programming/Cortex-Command-Mod-Converter-Engine/src/cortex_command_mod_converter_engine/stylua_executables/windows/stylua.exe;windows" --name="Legacy Mod Converter" main.py `
44
+ Using a virtual environment brings the executable down from 34 MB to 29 MB.
45
+ This is important to keep the zip under GitHub's 25 MB limit!
46
+
47
+ 1 . ` ./virtual_environment/Scripts/activate.bat `
48
+ 2 . ` ./virtual_environment/Scripts/python.exe -m pip install -r requirements.txt `
49
+ 3 . ` I:/programming/python/cc-legacy-mod-converter/virtual_environment/Scripts/pyinstaller --noconsole --onefile --icon="Media/legacy-mod-converter.ico" --collect-all="cortex_command_mod_converter_engine" --add-data="Media/github-icon.png;Media" --add-data="Media/discord-icon.png;Media" --add-data="Media/finish.wav;Media" --add-data="I:/Programming/Cortex-Command-Mod-Converter-Engine/src/cortex_command_mod_converter_engine/stylua_executables/windows/stylua.exe;windows" --name="Legacy Mod Converter" main.py `
50
+ 4 . ` ./virtual_environment/Scripts/deactivate.bat `
45
51
46
52
### Linux
47
53
You can’t perform that action at this time.
0 commit comments