Update update-check.html

This commit is contained in:
Belim
2025-05-20 20:43:01 +02:00
committed by GitHub
parent eef9bd5e61
commit ea5705e25b
+3 -3
View File
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Crapfixer Update Check</title>
<title>CrapFixer Update Check</title>
<style>
:root {
--bg: #f3f6fd;
@@ -162,12 +162,12 @@
const status = document.getElementById("status");
if (!userVersion) {
status.innerText = "❓ No version found. Please open this page from the Crapfixer app.";
status.innerText = "❓ No version found. Please open this page from the CrapFixer app.";
} else {
const result = compareVersions(userVersion, latestVersion);
if (result < 0) {
status.innerHTML = `⚠️ Your version (${userVersion}) is outdated.<br><strong>Latest version:</strong> ${latestVersion}<br><a href="https://github.com/builtbybel/Crapfixer/releases">⬇️ Download here</a>`;
status.innerHTML = `⚠️ Your version (${userVersion}) is outdated.<br><strong>Latest version:</strong> ${latestVersion}<br><a href="https://github.com/builtbybel/CrapFixer/releases">⬇️ Download here</a>`;
} else if (result === 0) {
status.innerHTML = `✅ Your version (${userVersion}) is up to date.`;
} else {