aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2022-05-21 17:41:42 +0200
committerGitHub <noreply@github.com>2022-05-21 17:41:42 +0200
commit63f950401c666e18a82d93a7e6e1b0d7044f0432 (patch)
tree8087f03d550d765a1a01618d899d7ffbd0a9cf0b /README.md
parentrun autogen_metadata.lua (diff)
downloadmason-63f950401c666e18a82d93a7e6e1b0d7044f0432.tar
mason-63f950401c666e18a82d93a7e6e1b0d7044f0432.tar.gz
mason-63f950401c666e18a82d93a7e6e1b0d7044f0432.tar.bz2
mason-63f950401c666e18a82d93a7e6e1b0d7044f0432.tar.lz
mason-63f950401c666e18a82d93a7e6e1b0d7044f0432.tar.xz
mason-63f950401c666e18a82d93a7e6e1b0d7044f0432.tar.zst
mason-63f950401c666e18a82d93a7e6e1b0d7044f0432.zip
feat(github): add setting to customize asset download url (#711)
Closes #678.
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md
index 385376c9..5f82fb3e 100644
--- a/README.md
+++ b/README.md
@@ -378,5 +378,14 @@ local DEFAULT_SETTINGS = {
-- Limit for the maximum amount of servers to be installed at the same time. Once this limit is reached, any further
-- servers that are requested to be installed will be put in a queue.
max_concurrent_installers = 4,
+
+ github = {
+ -- The template URL to use when downloading assets from GitHub.
+ -- The placeholders are the following (in order):
+ -- 1. The repository (e.g. "rust-lang/rust-analyzer")
+ -- 2. The release version (e.g. "v0.3.0")
+ -- 3. The asset name (e.g. "rust-analyzer-v0.3.0-x86_64-unknown-linux-gnu.tar.gz")
+ download_url_template = "https://github.com/%s/releases/download/%s/%s",
+ },
}
```