Repository navigation
Download optional desktop runtimes after first launch - #353
Merged
Merged
Conversation
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.
Desktop installers currently carry LibreOffice, Sherpa/ONNX speech libraries, and uv. Download these components in the background after first launch, then install managed Python and Hindsight without waiting for a local AI model. Chat startup stays independent, and Node.js remains bundled. This removes approximately 220 MiB of uncompressed files from the Mac ARM installer payload.
Publish a support archive for each platform and pin its URL, size, and checksum inside the app. Verify downloads before extraction, install atomically into private Client storage, reuse cached files offline, and retry failed setup. Office and speech loaders resolve their engines from that cache; development and headless builds retain bundled tools. Mac support packages are signed and notarized by the release build.
Validation:
npm run checkpassed, including download corruption, interruption, concurrent installation, cache repair, and offline reuse tests.cargo check --manifest-path src-tauri/Cargo.tomlpassed after staging the reduced runtime.Production notarization, Windows/Linux installer execution, full voice transcription, and a complete Python/Hindsight installation were not exercised locally. First setup requires internet access.