Skip to content
This repository has been archived by the owner on Jul 1, 2020. It is now read-only.

Generating versionInfoURL

Süleyman Yasir KULA edited this page Jul 17, 2019 · 4 revisions

SimplePatchTool fetches an xml file called VersionInfo.info from the server of your choice while checking for updates or applying patches. This file holds all the necessary info to apply a patch.

  • But how does SimplePatchTool know where to fetch the VersionInfo.info from? Because you provide its url to SimplePatchTool during the integration phase (versionInfoURL parameter), prior to creating any patches.

  • Then how can you know the download url of a file that doesn't yet exist? Easy! You simply upload a dummy VersionInfo.info to where you'd like to host the real one at and then fetch this dummy file's download url. Afterwards, when you create a new patch, you can replace/update the contents of this dummy VersionInfo.info with the real one.

Hosting VersionInfo on Google Drive™

  1. create an empty text file called VersionInfo.info on your computer
  2. upload the file to your Drive
  3. right click the uploaded file and select "Get shareable link". Use the provided URL as versionInfoURL
Hosting VersionInfo on Dropbox™

  1. create a dummy text file called VersionInfo.info on your computer
  2. upload the file to your Dropbox, then select the file and click Share
  3. click the Create a link button and copy the share link
  4. replace the ?dl=0 part at the end of the share link with ?dl=1
  5. use the updated share link (with ?dl=1) as versionInfoURL
Hosting VersionInfo on a custom server

  1. create an empty text file called VersionInfo.info on your computer
  2. upload the file to the server and make it public
  3. use the download link of the file as versionInfoURL
Clone this wiki locally