2020-07-01 20:47:02 +02:00
|
|
|
<?php require "inc.php"; ?>
|
2019-03-28 22:44:06 +01:00
|
|
|
{
|
|
|
|
"dir": "ltr",
|
2020-07-01 20:47:02 +02:00
|
|
|
"lang": "<?= $locale ?>",
|
2020-03-06 21:34:31 +01:00
|
|
|
"name": "LibreQR",
|
|
|
|
"short_name": "LibreQR",
|
2020-07-01 20:47:02 +02:00
|
|
|
"description": "<?= $loc['subtitle'] ?>",
|
2020-11-03 21:28:29 +01:00
|
|
|
"start_url": "<?= $rootPath; ?>",
|
|
|
|
"scope": "<?= $rootPath; ?>",
|
2019-03-28 22:44:06 +01:00
|
|
|
"display": "standalone",
|
2020-07-01 20:47:02 +02:00
|
|
|
"theme_color": "<?= $variablesTheme["bg"]; ?>",
|
|
|
|
"background_color": "<?= $variablesTheme["bg"]; ?>",
|
|
|
|
"orientation": "portrait",
|
2019-03-28 22:44:06 +01:00
|
|
|
"icons":
|
|
|
|
[
|
2020-03-06 21:34:31 +01:00
|
|
|
<?php for ($i = 0; $i < (count($themeDimensionsIcons) - 1); $i++) { ?>
|
|
|
|
{
|
2020-07-01 20:47:02 +02:00
|
|
|
"src": "themes/<?= $theme; ?>/icons/<?= $themeDimensionsIcons[$i]; ?>.png",
|
|
|
|
"sizes": "<?= $themeDimensionsIcons[$i]; ?>x<?= $themeDimensionsIcons[$i]; ?>",
|
2020-03-06 21:34:31 +01:00
|
|
|
"type": "image/png"
|
|
|
|
},
|
|
|
|
<?php } ?>
|
2019-03-28 22:44:06 +01:00
|
|
|
{
|
2020-07-01 20:47:02 +02:00
|
|
|
"src": "themes/<?= $theme; ?>/icons/<?= $themeDimensionsIcons[$i]; ?>.png",
|
|
|
|
"sizes": "<?= $themeDimensionsIcons[$i]; ?>x<?= $themeDimensionsIcons[$i]; ?>",
|
2019-03-28 22:44:06 +01:00
|
|
|
"type": "image/png"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|