I have a question about this repository, I downloaded the zip source code from this link, I edited the bestStream.txt
file in the config
folder, and now I want to create an .exe file (like the one in the release) with my modified file. How can I create it?
-
Have you read the installation instructions on GitHub? There is a section on creating a compiled version.– doneal24Commented Feb 13, 2023 at 1:43
Add a comment
|
1 Answer
There are pretty good instructions available on how to compile the application. I recommend to take a look: https://github.com/LeagueOfPoro/CapsuleFarmerEvolved/wiki/Advanced-Installation-for-Windows
Running from source code
- Download and extract the latest source code available from the Releases tab or via git clone https://github.com/LeagueOfPoro/CapsuleFarmerEvolved.git
- Generate the config files as required by the application - see Configuration for details.
- Run
pipenv install
to install the required dependencies. - Run
pipenv run python ./src/main.py
to start the application.
Compiling the application
If the application is running from the source code, you can also compile it into a single executable file using pyinstaller.
- Run
pipenv install
to install the required dependencies. - If you have not already, generate the config files as required by the application - see Configuration for details.
- Open a terminal in the root directory of the project (you should see
src
andconfig
directories if you typedir
). - Run
setup/windows.bat
(CMD/PowerShell compatible). - The compiled executable will be in the
build
directory. You can quickly start it with./build/CapsuleFarmerEvolved.exe
-
Suggestion - Please edit your answer and put a summary of instructions here. Otherwise, your answer is in danger of being deleted. Commented Feb 13, 2023 at 10:21