diff options
Diffstat (limited to 'UrbanTerror/UrbanTerror.nvchecker')
| -rw-r--r-- | UrbanTerror/UrbanTerror.nvchecker | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/UrbanTerror/UrbanTerror.nvchecker b/UrbanTerror/UrbanTerror.nvchecker new file mode 100644 index 0000000..513f7b8 --- /dev/null +++ b/UrbanTerror/UrbanTerror.nvchecker @@ -0,0 +1,10 @@ +# UrbanTerror has no github/pypi release feed; parse the version out of the +# full-zip filename (UrbanTerror<NNN>_full.zip) on the downloads page and turn +# NNN into a dotted version (434 -> 4.3.4). nvchecker regex allows only a single +# capture group, so grab the digits then reshape with from/to_pattern. +[UrbanTerror] +source = "regex" +url = "https://www.urbanterror.info/downloads/" +regex = "UrbanTerror(\\d+)_full\\.zip" +from_pattern = "(\\d)(\\d)(\\d)" +to_pattern = "\\1.\\2.\\3" |
