Save Edit Tool Version 0.2.2 - HOT FIXES
What's Changed
- Save last openend Profile + Auto Decrypt in the beginning! by @xLieferant in #32
Full Changelog: v0.2.1...0.2.2
New Plugins: Integrated @tauri-apps/plugin-process, plugin-dialog, and plugin-fs across frontend and backend.
Caching System: Introduced backend and frontend caching for ETS2 profiles, featuring a new CachedProfile model and persistence for the last selected profile.
State Management: Implemented a thread-safe RwLock-based state in utils/current_profile.rs to replace CURRENT_PROFILE environment variables.
Release Automation: Refactored GitHub Actions workflow to support automated tag-based releases.
Changed
Version Bump: Updated application version to 0.2.2 across Cargo.toml, tauri.conf.json, and the UI.
Updater Logic:
- Refactored updater.js to separate automatic and manual update flows.
- Manual checks now redirect to the GitHub Releases page.
- Switched Tauri install mode to basicUi in tauri.conf.json.
- Improved Security: Hardened the Content Security Policy (CSP) and refined app capabilities in desktop.json.
- Refactored main.js: Improved code structure and error handling; moved updater logic to a dedicated js/updater.js module.
- UI Enhancements: The application now auto-scans profiles on startup and populates the dropdown menu from the local cache.
Fixed
- Thread Safety: Resolved potential race conditions by moving profile management to a thread-safe getter/setter architecture.
- Logging: Enhanced updater.js to better handle update availability checks and the shouldUpdate property.
- Dependencies
- Updated serde_json from 1.0.147 to 1.0.148.
- Updated various Tauri plugin permissions and configuration schemas.
- Changed
- Version Bump: Updated version display in index.html to 0.2.1.
Configuration: Expanded updater permissions and enabled MSI bundling in tauri.conf.json.
