Repository navigation
feat(gui): show the installed version in Settings - #128
Merged
timhartmann7 merged 8 commits intoOct 8, 2026
Merged
Conversation
Settings had no version anywhere, but a bug report for the desktop app has to quote one, and the only way to get it was to leave the app and run `omny --version` in the terminal app. An About section at the foot of Settings now names the installed build. The value comes from Tauri's own `getVersion`, which reads the CARGO_PKG_VERSION tauri-codegen bakes into the context — the same number `omny --version` prints, since both crates take the workspace version. `core:default` already carries `core:app:allow-version`, so no capability changes. The read is wrapped in a dynamic import like the theme store's native calls, so Vitest and `vite preview` (no Tauri runtime) still load. It is kept out of the update-config load: a version that will not read leaves the row saying so rather than taking the update preferences down with it. Closes #125.
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.
Closes #125.