Files
2026-03-12 22:16:34 +01:00

62 lines
1.9 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/wails.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="/style.css" />
<title>Updater Example</title>
</head>
<body>
<main class="layout">
<section class="hero">
<p class="eyebrow">Wails 3 In-App Updates</p>
<h1>Updater Example</h1>
<p class="lede">
This app starts from <code>wails3 init -t vanilla-ts</code> and binds the updater library
behind a single Wails service.
</p>
</section>
<section class="panel">
<div class="stat-grid">
<div class="stat">
<span class="label">Current Version</span>
<strong id="current-version">0.1.0</strong>
</div>
<div class="stat">
<span class="label">Channel</span>
<strong id="channel">stable</strong>
</div>
<div class="stat">
<span class="label">State</span>
<strong id="state">idle</strong>
</div>
</div>
<div class="actions">
<button id="check" class="btn">Check</button>
<button id="download" class="btn">Download</button>
<button id="apply" class="btn danger">Apply & Restart</button>
</div>
<div class="details">
<div>
<span class="label">Candidate Version</span>
<p id="candidate-version">none</p>
</div>
<div>
<span class="label">Last Error</span>
<p id="last-error">none</p>
</div>
<div>
<span class="label">Release Notes</span>
<p id="release-notes">No release selected.</p>
</div>
</div>
</section>
</main>
<script type="module" src="/src/main.ts"></script>
</body>
</html>