-
Notifications
You must be signed in to change notification settings - Fork 10
Feature/update api #50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the API update process and improves version handling across the application.
- Adds a new parameter (architectureName) and refines semantic version comparison in the Updater utility.
- Updates settings and layout routes to use the Tauri API for version retrieval and platform information.
- Minor updates in Rust and version bump in the Cargo.toml for the application.
Reviewed Changes
Copilot reviewed 7 out of 9 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/utils/Updater/index.js | Refactored version comparison, added architecture handling, and updated update data parsing. |
| src/routes/Settings/index.jsx | Converted update check to async and switched to Tauri API version retrieval. |
| src/components/Layout/index.jsx | Adapted update check to async and incorporated Tauri API calls for version and OS info. |
| src-tauri/src/main.rs | Added development setup to open and close devtools conditionally on debug builds. |
| src-tauri/Cargo.toml | Bumped version from 2.1.0 to 2.2.0. |
Files not reviewed (2)
- package.json: Language not supported
- src-tauri/tauri.conf.json: Language not supported
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 7 out of 9 changed files in this pull request and generated 2 comments.
Files not reviewed (2)
- package.json: Language not supported
- src-tauri/tauri.conf.json: Language not supported
No description provided.