Quickstart Guide
AutoPy is very simple to setup. Just follow the instructions below...
Step 1:
Add a file named
v.txt
containing the current version of your app (like 1.2.3
).
Step 2:
Create a file which is the file that you need to download. Name it something like
download.exe
Step 3:
Paste the code below into the start of your program and fill in the required information.
import autopy
currentVersion = "1.0.0" # The current version of the app
downloadFile = "download.exe" # The name of the file to download
domain = "https://my.site" # Your domain/webserver
autopy.checkupdates(currentVersion, domain, downloadFile) # Check for updates
That's it! You're ready to automate the update process.