-
Notifications
You must be signed in to change notification settings - Fork 26
Patch.generateSignatureFile
Wesley Haws edited this page Nov 2, 2016
·
1 revision
#generateSignatureFile
public string generateSignatureFile(string oldFilePath, string saveLocation="")
##Parameters
Type | Name | Description |
---|---|---|
string | oldFilePath | outdated file location. |
string | saveLocation | where to save generated .sig file |
##Description Will generate a signature file for the file that you provide and save it at your desired location. If save location isn't specified then it will save it to the same location as the file.
##Example
using GameDevRepo;
void Start() {
PatchSystem patch = new PatchSystem();
patch.generateSignatureFile("C:\\outdatedScript.cs");
patch.generateSignatureFile("C:\\outdatedScript.cs","C:\\NewFolder\\outdatedScript.cs.sig");
}
The following is a list of github repositories that made all of this possible:
delta patches: https://github.com/OctopusDeploy/Octodiff
.net 4 implemented in Monodevelop: https://github.com/mono/mono
Tuples In Unity: https://gist.github.com/michaelbartnett/5652076
Octodiff: https://github.com/OctopusDeploy/Octodiff
Input Manager: https://github.com/daemon3000/InputManager