This python script will check for updates on a github repo and automaticly download the latest version.
- Python 3
- GitPython
OS | Status |
---|---|
Linux (Debian Based System) | ✔️ |
Windows | (Untested but should work) |
- Create a file called
Version
in your github repo, and put the version number in the file. ex:1.0.0
- Edit the user vars in
Update.py
- You are done.
- Files do not have to be hosted on github, If you are self-hosting your own
gitlab, gittea, etc
instance. This script will work for them as well. - This script checks the
Version
file in the repo and compares it against the localVersion
file, to determine if there is an update.