aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 10 insertions, 2 deletions
diff --git a/README.md b/README.md
index 76421f0..9d77d4f 100644
--- a/README.md
+++ b/README.md
@@ -32,7 +32,7 @@ UpdateContext updateContext=new UpdateContext(
);
```
-You will have to specify an update source (currently either a `gistSource` or your own implementation),
+You will have to specify an update source,
an update target (the file to replace), the version that is currently being ran, and a string id to prevent
files from being overwritten.
@@ -42,7 +42,7 @@ application.
### Sources
- - GistSource
+ - Gist Source
Uses a gist with multiple (or just one) files called `<upstream>.json` in the format
```json5
@@ -53,6 +53,14 @@ Uses a gist with multiple (or just one) files called `<upstream>.json` in the fo
}
```
+ - GitHub Releases Source
+
+Uses a GitHub release to either source a pre-release or full-release JAR. This release source does not support hashes or
+newer-than-latest local versions. The current version also has to be the tag name, unlike the gist source which can have
+any version type. The GitHub release needs to have a tag that is also present in the jar itself, and there should only
+be one JAR in each GitHub release. Subclasses of this source may provide custom logic for choosing the jar / version.
+
+
### Targets
- DeleteAndSaveInSameFolder