Signed automatic updates from GitHub Releases

- Atmosphere checks the repo's latest release and offers new versions with their notes
- Updates are signed; installed copies refuse anything not signed with the project key
- Installer, macOS and AppImage builds update themselves; portable and deb/rpm link to the download
- Release workflow builds, signs and publishes every platform with latest.json on a version tag
- Check-for-updates row and automatic check setting in Settings
- Release guide in docs/releasing.md
This commit is contained in:
Christian
2026-11-18 21:25:50 -05:00
parent a5c6c2503b
commit 7f518eecc7
14 changed files with 562 additions and 12 deletions
+4
View File
@@ -52,6 +52,7 @@
<div class="sidebar-foot">
<button class="nav-item" data-nav="settings"><span class="i" data-icon="settings"></span><span>Settings</span></button>
<button class="update-chip" id="updateChip" hidden></button>
<button class="engine-state" id="engineState" data-nav="settings" data-anchor="engine"></button>
</div>
</aside>
@@ -258,6 +259,8 @@
<h2 id="set-app">App</h2>
<div class="group">
<div class="setting"><div><strong>Updates</strong><span id="updateInfo">Atmosphere</span></div><button class="btn" id="updateBtn" type="button"><span class="label">Check for updates</span><span class="spin" aria-hidden="true"></span></button></div>
<label class="setting"><div><strong>Check for updates automatically</strong><span>When Atmosphere opens, it asks its GitHub releases page whether there's a newer version. Every update is signed and checked before it installs.</span></div><input type="checkbox" class="switch" data-key="checkUpdates" /></label>
<div class="setting">
<div><strong>Appearance</strong><span>Follows Windows unless you choose.</span></div>
<div class="seg" data-seg="theme"><button type="button" data-value="system">System</button><button type="button" data-value="light">Light</button><button type="button" data-value="dark">Dark</button></div>
@@ -375,5 +378,6 @@
<script src="stats.js"></script>
<script src="miniplayer.js"></script>
<script src="connect.js"></script>
<script src="updates.js"></script>
</body>
</html>