Merged
Conversation
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.
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.
Contributor
Author
|
Tested, and works as intended. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Multi platform solution.