feat: add sync progress, break loops once we get 0 users back
This commit is contained in:
@ -11,7 +11,7 @@ use std::io;
|
||||
use commands::config::{get_config, init_config, save_config};
|
||||
use commands::fansly::{
|
||||
fansly_check_sync_token, fansly_get_me, fansly_set_token, fansly_sync,
|
||||
fansly_upload_auto_sync_data,
|
||||
fansly_upload_auto_sync_data, fansly_get_sync_status
|
||||
};
|
||||
use commands::utils::quit;
|
||||
use tauri_plugin_autostart::MacosLauncher;
|
||||
@ -66,7 +66,8 @@ async fn main() {
|
||||
fansly_get_me,
|
||||
fansly_sync,
|
||||
fansly_upload_auto_sync_data,
|
||||
fansly_check_sync_token
|
||||
fansly_check_sync_token,
|
||||
fansly_get_sync_status
|
||||
])
|
||||
.run(tauri::generate_context!())
|
||||
.expect("error while running tauri application");
|
||||
|
Reference in New Issue
Block a user