⚠️IMPORTANT⚠️: The runtime mapping logic has changed significantly in 1.0.0. If upgrading from an earlier version make sure to update your config appropriately.
### Sample code
```TypeScript
const serverdownloader = new ServerProvider(config);
`downloadUrl`: The template of the url to the service file. 2 placeholder variables are supported in this property.
1.`{#version#}`: The version of the service defined by the `version` property.
2.`{#fileName#}`: The matching value of the key-value pair in `downloadFileNames` property.
`version`: The version of the service.
`downloadFileNames`: The mapping between the runtimes (OS + OS Version) and their correspondent service files.
1. The supported runtimes are defined in the [Runtime enum](https://github.com/microsoft/ads-service-downloader/blob/main/src/platform.ts#L13).
2. A fallback mechanism is available in case the current runtime is not specified in the config, e.g. the current runtime is Ubuntu 22, but it is not defined in the config, the package will also try Ubuntu and Linux until an entry is found. the fallback information is defined in the [fallback function](https://github.com/microsoft/ads-service-downloader/blob/main/src/platform.ts#L262). Follow the guidelines below to simplify the mapping information:
a. When possible, define the platform level config, e.g. Linux and set its value to a service file that works for most of Linux distributions.
b. Only define the specific runtime if necessary. e.g. Ubuntu 22 requires its own version of service file.
Please file an issue if a specific runtime that requires special handling is not listed in the runtime list.