feat(device): add device sync button

This commit is contained in:
2025-10-15 11:45:52 -04:00
parent af4f8ce77f
commit 8d773f8188
8 changed files with 1052 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
use tauri_plugin_sql::{Migration, MigrationKind};
mod deezer_crypto;
mod device_sync;
mod metadata;
mod tagger;
@@ -317,7 +318,9 @@ pub fn run() {
tag_audio_file,
read_audio_metadata,
decrypt_deezer_track,
download_and_decrypt_track
download_and_decrypt_track,
device_sync::index_and_compare,
device_sync::sync_to_device
])
.run(tauri::generate_context!())
.expect("error while running tauri application");