diff options
| author | William Boman <william@redwill.se> | 2022-05-21 17:41:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-21 17:41:42 +0200 |
| commit | 63f950401c666e18a82d93a7e6e1b0d7044f0432 (patch) | |
| tree | 8087f03d550d765a1a01618d899d7ffbd0a9cf0b /README.md | |
| parent | run autogen_metadata.lua (diff) | |
| download | mason-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.md | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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", + }, } ``` |
