From df0a34afee0a1a199392b024277c1bb9d2062798 Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Sun, 28 Jan 2024 14:22:50 -0500 Subject: Added fonts to lpm as a new type. --- SPEC.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'SPEC.md') diff --git a/SPEC.md b/SPEC.md index f18da5d..06d42ac 100644 --- a/SPEC.md +++ b/SPEC.md @@ -27,6 +27,7 @@ installed. Currently three types are supported: * `library` * `plugin` * `color` +* `font` * `meta` Addons are further classified into two organizational categories. @@ -48,7 +49,7 @@ Fields that are required are bolded. * **`mod_version`**: The mod_version this addon is compatible with. A string that can contain `[0-9\.]`. If `type` is `library`, this field is optional. * `type`: An optional string that specifies the addon type. Valid values are `"plugin"` - `"library"`, `"color"`, or `"meta"`. Defaults to `"plugin"`. + `"library"`, `"color"`,`"font"`, or `"meta"`. Defaults to `"plugin"`. * `name`: The optional name of the addon. * `description`: An optional english-language description of the addon. * `provides`: An optional array of strings that are a shorthand of functionality @@ -166,6 +167,19 @@ that any version greater than `0.1` can be used. "json": {} # Depeneds on `json`, can be a plugin's name or one of its `provides`. } }, + { + "id": "RobotoMono", + "version": "0.1", + "type": "font", + "description": "Roboto Mono font.", + "files": [ # Downloads all files listed here to USERDIR/fonts. + + { + "url": "https://github.com/chrissimpkins/codeface/raw/master/fonts/roboto-mono/RobotoMono-Regular.ttf", + "checksum": "c7ab2d73cf7d538face08bcdde95b928ce609a970237c8811ca3c76059c8bb2f" + } + ] + }, { "id": "json", "version": "1.0", -- cgit v1.2.3