Skip to content

Application Update Support (MacOS)#2

Merged
NoobNotFound merged 6 commits intomainfrom
app_updates
Dec 30, 2025
Merged

Application Update Support (MacOS)#2
NoobNotFound merged 6 commits intomainfrom
app_updates

Conversation

@NoobNotFound
Copy link
Copy Markdown
Contributor

Multi platform solution.

Implements a full update workflow for Aether, including backend update service using GitHub Releases (Octokit), platform-specific update helper scripts, and gRPC protocol changes for update operations. Adds UpdateManager and UpdateView to the macOS frontend for update checking, downloading, and installation, with UI integration and settings. Updates proto files to support new update messages and RPCs.
Removed external update helper scripts for Linux, macOS, and Windows, and embedded their contents directly into UpdateService.cs. The service now generates the appropriate helper script at runtime, simplifying deployment and reducing reliance on external script files.
@NoobNotFound NoobNotFound marked this pull request as draft December 30, 2025 07:09
@NoobNotFound NoobNotFound added the enhancement New feature or request label Dec 30, 2025
Enhanced logging in UpdateManager.swift to provide more detailed information during the update installation process, including request, response, and error handling. Switched BackendManager.swift to use the internal backend by default. Minor refactor in UpdateService.cs for clarity. No functional changes to user interface or update logic.
Enhanced the macOS update helper script for better reliability, logging, and error handling, including backup and restore logic, .app bundle detection, and log file output. Updated UpdateManager.swift to use a shared Logger, improved shutdown sequence after update, and added more robust error reporting. These changes aim to make the update process safer and easier to debug.
The InstallAppUpdate RPC in the backend is now deprecated and always returns a failure, instructing the client to handle installation locally. The update installation logic and helper scripts have been removed from the backend and reimplemented in the macOS frontend, which now prepares and executes the update process directly. This change improves update reliability and aligns with the new update flow.
Redesigned the SettingsView for improved organization, grouping general, updates, library, and plugins sections with reusable components. Added a toggle for automatic update checks in both SettingsView and UpdateView, defaulting to enabled. Updated the app to only check for updates on launch if the setting is enabled. Bumped the marketing version to 1.3.
@NoobNotFound NoobNotFound marked this pull request as ready for review December 30, 2025 11:18
@NoobNotFound NoobNotFound changed the title Application Update Support Application Update Support (MacOS) Dec 30, 2025
@NoobNotFound
Copy link
Copy Markdown
Contributor Author

Tested, and works as intended.

@NoobNotFound NoobNotFound merged commit 07fe73f into main Dec 30, 2025
@NoobNotFound NoobNotFound deleted the app_updates branch January 1, 2026 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant