This repository has been archived by the owner on Jul 1, 2020. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 51
Creating Patches
Süleyman Yasir KULA edited this page Mar 7, 2020
·
33 revisions
- take a look at the Glossary to familiarize yourself with the terms that are used throughout the wiki
- integrate SimplePatchTool, if you haven't done already
- build/compile the application
- see the Recommended Project Structure
There are two ways to create patches:
Click here to show/hide
If you were using the legacy method to create patches, you can easily migrate to ProjectManager.
-
Create a project (if you haven't already done so)
- See About Projects to learn more about the structure of your project and customize its settings
- If this is a self patching app, create a self patcher and put its files inside the project's SelfPatcher directory
- Generate the patch
- Upload the patch files to the server of your choice
- Update the download links in VersionInfo
- During the integration phase, if you've used UseVersionInfoVerifier/UsePatchInfoVerifier to verify the downloaded patch files using a public RSA key, then sign your patch file(s) with the private RSA key
- Update the VersionInfo.info at versionInfoURL
Click here to show/hide
- If this is a self patching app, create a self patcher and put its files inside a subdirectory called SPPatcher in your application directory (built project)
- Generate the patch
- If your previous patch had any
<IncrementalPatch>
es in its VersionInfo, copy them to the newest VersionInfo (only if they weren't copied automatically) - Upload the patch files to the server of your choice
- Update the download links in VersionInfo
- During the integration phase, if you've used UseVersionInfoVerifier/UsePatchInfoVerifier to verify the downloaded patch files using a public RSA key, then sign your patch file(s) with the private RSA key
- Update the VersionInfo.info at versionInfoURL
After you create a patch, a file named {PROJECT_NAME}_vers.sptv will automatically be created in the new version's directory. This file stores the version number of the application.