-
Notifications
You must be signed in to change notification settings - Fork 23
v2.4.4
Sergey Ilyinykh edited this page Apr 20, 2020
·
1 revision
It is possible to add up to 2 tabs showing required HTML pages to Launcher. You may set them up either via the config.json file or via the Launcher API.
For setting it up via the config.json file, add the html_tabs key with the array type.
You may set up the tabs order in the configuration. Tabs will be displayed in the same order as stated in the configuration file.
{
"launcher_project_id": "8c91ecf3-e7b0-46a8-aaf7-4c419ef8ef4b",
"login_project_id": "bd2e1104-5494-48f9-ac50-98f230062df1",
"build_number": 0,
"callback_url": "https://login.xsolla.com/api/blank",
"stone_app_id": "",
"steam_app_id": 480,
"store_token_life_time": 23,
"check_update_interval": 10800000,
"ga_tracking_id": "UA-117660045-1",
"link_support": "https://xsolla.com",
"link_community": "https://xsolla.com",
"html_tabs": [
{
"name": "Google",
"url": "https://google.com"
},
{
"name": "Yandex",
"url": "https://yandex.com"
}
]
}
- Maximum number of custom tabs - 2.
- Maximum length of the tab name - 15 characters (if longer, then the string will be truncated to 15 characters and a tooltip will be added).
- If there are more than 2 tabs in the configuration, then only the first two of them will be displayed.
- The tabs cannot be localized.