Make an update.exe
that checks github for new releases and updates the current directory if behind.
- Have python3
- Download and extract this repo
- Run
pip install -Ur requirements.txt
- Set
repo_url
inupdate.py
- Run
.\build.cmd
- Copy
update.exe
to your project you want to auto update
- Will only grab the latest release artifact
- Expects that artifact to be a zip
- Creates and maintains an
update.txt
with the latest releases' publish timestamp
I might fix these issues later if necessary
- Simply overwrites files (watch out for user configurations, default saves)
- Will redudantly download and overwrite unchanged files (no file hashing or manifest usage)
- Doesn't support architecture selection
- No configuration for installation paths
- Windows only
This project is licensed under the MIT License.