chore(debug): release v1.2.7 with verbose update logging

This commit is contained in:
2026-02-16 23:12:18 +01:00
parent 8e299c82ca
commit 1f8ebff9fe
7 changed files with 21 additions and 12 deletions

View File

@@ -1421,9 +1421,12 @@
const resp = await fetch(versionUrl, { cache: 'no-cache' });
if (!resp.ok) return;
const remoteVersion = (await resp.text()).trim();
console.log(`[Kantine] Version Check: Local [${currentVersion}] vs Remote [${remoteVersion}]`);
if (!remoteVersion || remoteVersion === currentVersion) return;
console.log(`[Kantine] Update verfügbar: ${remoteVersion} (aktuell: ${currentVersion})`);
console.log(`[Kantine] Update verfügbar: ${remoteVersion}`);
// Show 🆕 icon in header (only once)
const headerTitle = document.querySelector('.header-left h1');