Initial commit

This commit is contained in:
2026-07-08 22:36:54 +02:00
commit 08f7d9c6a9
13 changed files with 414 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
<?php
require "config.php";
require "functions.php";
require "options.php";
$os_guess = guess_os();
$latest = json_decode(file_get_contents('releases/latest.json'), true);
$version = empty($latest["version"]) ? "" : $latest["version"];
$version_timestamp = empty($latest["timestamp"]) ? -1 : $latest["timestamp"];
$version_timestamp_in_words = timestamp_in_words($version_timestamp);
if (!empty($latest["linux_path"])) {
$options["linux"]["download_path"] = "releases/" . $latest["linux_path"];
}
if (!empty($latest["windows_path"])) {
$options["windows"]["download_path"] = "releases/" . $latest["windows_path"];
}