feat: integrate automatic update checks and enhance settings UI
- Added functionality for automatic update checks in the settings page, allowing users to enable or disable this feature. - Integrated app version display and update availability notifications. - Updated settings store to manage auto-check updates state and handle version migration. - Enhanced layout with a new card for update settings, improving user experience and accessibility.
This commit is contained in:
1 parent
6cdc8d4294
commit
6c366eecb0
20 files changed
+1266
-6
No files matched your search
@@ -3613,6 +3613,9 @@ pub fn run() {
|
||||
// Plugin de notificações
|
||||
app.handle().plugin(tauri_plugin_notification::init())?;
|
||||
|
||||
// Plugin de atualização automática
|
||||
app.handle().plugin(tauri_plugin_updater::Builder::new().build())?;
|
||||
|
||||
// Modificar comportamento de fechar janela (ocultar ao invés de fechar)
|
||||
if let Some(window) = app.get_webview_window("main") {
|
||||
let window_clone = window.clone();
|
||||
|
||||
Reference in new issue
Block a user