mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2026-07-26 09:44:47 +10:00
Update lib.rs for the DB sync of autostart
This commit is contained in:
@@ -180,6 +180,11 @@ fn setup(handle: AppHandle) -> AppState<'static> {
|
|||||||
drop(db_handle);
|
drop(db_handle);
|
||||||
info!("finished setup!");
|
info!("finished setup!");
|
||||||
|
|
||||||
|
// Sync autostart state
|
||||||
|
if let Err(e) = autostart::sync_autostart_on_startup(&handle) {
|
||||||
|
warn!("Failed to sync autostart state: {}", e);
|
||||||
|
}
|
||||||
|
|
||||||
AppState {
|
AppState {
|
||||||
status: app_status,
|
status: app_status,
|
||||||
user,
|
user,
|
||||||
|
|||||||
Reference in New Issue
Block a user