chore(debug): release v1.2.8 with start/status logs

This commit is contained in:
2026-02-16 23:14:59 +01:00
parent 1f8ebff9fe
commit 13a0ae3a93
7 changed files with 38 additions and 13 deletions

View File

@@ -1,3 +1,6 @@
## v1.2.8 (2026-02-16)
- **Debug**: Weiteres Logging (Fetch-Status, Start-Log) zur Fehlersuche. 🔎
## v1.2.7 (2026-02-16)
- **Debug**: Verbose Logging für Update-Check eingebaut. 🐞

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

20
dist/install.html vendored

File diff suppressed because one or more lines are too long

View File

@@ -1680,7 +1680,7 @@ body {
<div class="brand">
<span class="material-icons-round logo-icon">restaurant_menu</span>
<div class="header-left">
<h1>Kantinen Übersicht <small style="font-size: 0.6em; opacity: 0.7; font-weight: 400;">v1.2.7</small></h1>
<h1>Kantinen Übersicht <small style="font-size: 0.6em; opacity: 0.7; font-weight: 400;">v1.2.8</small></h1>
<div id="last-updated-subtitle" class="subtitle"></div>
</div>
</div>
@@ -3027,13 +3027,20 @@ body {
// === Version Check (periodic, every hour) ===
async function checkForUpdates() {
const currentVersion = 'v1.2.7';
console.log('[Kantine] Starting update check...');
const currentVersion = 'v1.2.8';
const versionUrl = 'https://raw.githubusercontent.com/TauNeutrino/kantine-overview/main/version.txt';
const installerUrl = 'https://htmlpreview.github.io/?https://github.com/TauNeutrino/kantine-overview/blob/main/dist/install.html';
try {
console.log(`[Kantine] Fetching ${versionUrl}...`);
const resp = await fetch(versionUrl, { cache: 'no-cache' });
if (!resp.ok) return;
console.log(`[Kantine] Fetch status: ${resp.status}`);
if (!resp.ok) {
console.warn(`[Kantine] Version Check HTTP Error: ${resp.status}`);
return;
}
const remoteVersion = (await resp.text()).trim();
console.log(`[Kantine] Version Check: Local [${currentVersion}] vs Remote [${remoteVersion}]`);

View File

@@ -1413,13 +1413,20 @@
// === Version Check (periodic, every hour) ===
async function checkForUpdates() {
console.log('[Kantine] Starting update check...');
const currentVersion = '{{VERSION}}';
const versionUrl = 'https://raw.githubusercontent.com/TauNeutrino/kantine-overview/main/version.txt';
const installerUrl = 'https://htmlpreview.github.io/?https://github.com/TauNeutrino/kantine-overview/blob/main/dist/install.html';
try {
console.log(`[Kantine] Fetching ${versionUrl}...`);
const resp = await fetch(versionUrl, { cache: 'no-cache' });
if (!resp.ok) return;
console.log(`[Kantine] Fetch status: ${resp.status}`);
if (!resp.ok) {
console.warn(`[Kantine] Version Check HTTP Error: ${resp.status}`);
return;
}
const remoteVersion = (await resp.text()).trim();
console.log(`[Kantine] Version Check: Local [${currentVersion}] vs Remote [${remoteVersion}]`);

View File

@@ -1 +1 @@
v1.2.7
v1.2.8