This repository was archived by the owner on Jul 1, 2020. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 54
Updating Download Links in VersionInfo
Süleyman Yasir KULA edited this page Mar 6, 2020
·
17 revisions
With SimplePatchTool, you have two options for download links inside VersionInfo.info:
If you provide a <BaseDownloadURL>
(e.g. <BaseDownloadURL>http://myserver.com/dl?</BaseDownloadURL>
), SimplePatchTool will automatically construct download urls by appending the downloaded file's relative path to the BaseDownloadURL as follows:
- repair patch files: e.g. MyDir/file.bin will be downloaded from
http://myserver.com/dl?RepairPatch/MyDir/file.bin.lzdat
- incremental patch files: e.g. 1_0__1_1.patch will be downloaded from
http://myserver.com/dl?IncrementalPatch/1_0__1_1.patch
and 1_0__1_1.info will be downloaded fromhttp://myserver.com/dl?IncrementalPatch/1_0__1_1.info
- installer patch will be downloaded from
http://myserver.com/dl?InstallerPatch/Installer.patch
Some servers may not be suitable for BaseDownloadURL, e.g. Google Drive™ and Dropbox™ use unique ids in their download links. Or, you may want to use custom download urls for only some of the files and the rest will be downloaded from BaseDownloadURL. For files that won't be using BaseDownloadURL, you have to provide a DownloadURL: Providing Custom Download Links