HTML frontend: Link developer URL, add favicon
[stouyapi.git] / bin / build-html.php
index 2037cfcedeafbf6e22ed47515c93c5864c76a90c..b4561e696c8305919eaca2b16d2fd9509d7f0ea7 100755 (executable)
@@ -100,7 +100,11 @@ function renderDiscoverFile($discoverFile)
 function renderGameFile($gameDataFile)
 {
     $json = json_decode(file_get_contents($gameDataFile));
+
     $appsDir = dirname($gameDataFile, 2) . '/apps/';
+    $appsFile = $appsDir . $json->version->uuid . '.json';
+    $appsJson = json_decode(file_get_contents($appsFile));
+
     $downloadJson = json_decode(
         file_get_contents(
             $appsDir . $json->version->uuid . '-download.json'