This repository has been archived by the owner on May 2, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
releases.toml
executable file
·38 lines (29 loc) · 1.67 KB
/
releases.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Manage folders of InexorCore prebuilts on your machine.
# In the Instance configs you can specify the version it shall start.
# The requested version also can be a semversion string (">0.9.8||<0.12.7"), in which case the newest version found wins.
[releases]
# These folders are matched before the subfolders of a provider.
# The last folder of the path is considered to be the version
# e.g. C:/inexorbinfolders/0.8.2-alpha/ matches the version "0.8.2-alpha"
# D:/inexorgame/inexor-core/build matches the version "build"
explicit_release_folders = [
]
# Each release provider provides InexorCore binary packages.
#
# Release providers are
# A) REST services which answer to a GET request with a JSON listing the releases.
# See https://developer.github.com/v3/repos/releases/#list-releases-for-a-repository for hosting one yourself
# B) Local filesystem paths, where each subdirectory and each .zip file (fulfilling the pattern Inexor-<version>-<platform>.zip) is considered a "version"
# If the path is relative, it will be relative to the appDataLocation-path (My Games/inexor on Windows, .local/share/inexor on Linux)
# It takes the provider which is higher up in the list first (if both provide the same version)
# The download destination of every download
# The name of a provider with type "filesystem". If cache_provider isn't given, the first provider of type filesystem is used.
download_destination_provider = "local_cache"
[[releases.provider]]
name = "local_cache"
type = "filesystem"
path = "releases"
[[releases.provider]]
name = "inexor_github"
type = "REST"
path = "https://api.github.com/repos/inexorgame/inexor-core/releases"