-
-
Notifications
You must be signed in to change notification settings - Fork 6
Hosting
You can host PATCH artifacts (builds and patches) on your favorite hosting service. It works with every service that can serve files over HTTP or HTTPS and that can expose a direct file URL. This because PATCH dynamically builds URLs based on your builds/patches metadata. Some samples:
http://myCoolHostingService.com/patch/myfile.txt => valid
https://myCoolHostingService.com/folder/myfile.txt => valid
http://myCoolHostingService.com/?file=jR2xl1D => unvalid
You can use a repository on GitHub to host builds and patches for free. It does not require payments or fees.
Let's make an example!
Let's assume that my files are hosted at https://github.com/manhunterita/PATCH, on master branch. In this repo I have the classic PATCH folder structure, as explained previously in this doc:
https://github.com/manhunterita/PATCH/Builds/
https://github.com/manhunterita/PATCH/Patches/
https://github.com/manhunterita/PATCH/Updater/
In the Launcher's settings I can simply set as Remote URL the raw GitHub address: https://raw.githubusercontent.com/manhunterita/PATCH/master/.
Normally you can obtain your URL by following this schema: https://raw.githubusercontent.com/Username/RepositoryName/BranchName/.
Here we go: you've set your Launcher for downloading from your GitHub repositories.