- Download setup.py
- Run setup.py and follow the prompts
- A file called
updater.json
will be generated, make sure you bundle this config with your program in the root, alongsideupdater.py
, which is automatically downloaded after running setup.py - Simply run
updater.py
and it will check for new updates. If it is run for the first time, it will download the latest version of your program.
If you want your main program to contain update checking functionality, then simply add from updater import check_update
to your code (if in python), and then run the check_update()
function somewhere in your code.