|
|
## Prepare files
|
|
|
|
|
|
Download win32 files from the win32 directory of the repository.
|
|
|
Download the win32 folder of the repository.
|
|
|
|
|
|
Add in `dist/dgenies/templates` folder of the win32 folder all files contained in the `src/dgenies/templates` folder of the repository.
|
|
|
Add in `data/dgenies/templates` folder of the win32 folder all files contained in the `src/dgenies/templates` folder of the dgenies repository.
|
|
|
|
|
|
Add in `dist/dgenies/static` folder of the win32 folder all files and folders contained in the `src/dgenies/static` folder of the repository.
|
|
|
Add in `data/dgenies/static` folder of the win32 folder all files and folders contained in the `src/dgenies/static` folder of the dgenies repository.
|
|
|
|
|
|
Copy the `src/bin/dgenies` script from the repository to the win32 folder and rename it `dgeniesexe.py`.
|
|
|
|
|
|
Leave the win32 folder (go in parent folder).
|
|
|
Copy the `src/bin/dgenies` script from the dgenies repository to the win32 folder and rename it `dgeniesexe.py`.
|
|
|
|
|
|
## Install required packages
|
|
|
|
... | ... | @@ -26,12 +24,10 @@ You will also need [Inno Setup](http://www.jrsoftware.org/isdl.php) to build set |
|
|
|
|
|
Command:
|
|
|
|
|
|
pyinstaller --icon=win32/logo.ico win32/dgeniesrun.py
|
|
|
pyinstaller --icon=data/logo.ico --clean dgeniesrun.py
|
|
|
|
|
|
This will create a `dist` folder with inside a `dgeniesrun` folder. Other folders will be created, but you can delete them.
|
|
|
|
|
|
Move all files contained in `win32/dist` folder into the `dist/dgeniesrun` folder.
|
|
|
|
|
|
## Run innosetup
|
|
|
|
|
|
Launch build of the build_setup.iss file with InnoSetup. It will create the EXE setup file. |
|
|
\ No newline at end of file |
|
|
Launch build of the build_setup.iss file with InnoSetup. It will create the EXE setup file inside the new Output folder. |
|
|
\ No newline at end of file |