Skip to content

desktop/src-tauri/src/system_tasks.rs

Comment 1, line 1

desktop/src-tauri/src/system_tasks.rs:1

//! Saved consent and native Task Scheduler readback. Status reads never

Comment 2, line 2

desktop/src-tauri/src/system_tasks.rs:2

//! register tasks; failures preserve desired state and expose actual state.

Comment 3, line 90

desktop/src-tauri/src/system_tasks.rs:90

/// Losing process uses plain SQLite without recovering the owner's jobs.

Comment 4, line 165

desktop/src-tauri/src/system_tasks.rs:165

// Each invocation owns its COM apartment independently of Tauri threads.

Comment 5, line 308

desktop/src-tauri/src/system_tasks.rs:308

// Explicit UTC boundary avoids ambiguous local time on registration day.

Comment 6, line 333

desktop/src-tauri/src/system_tasks.rs:333

/// Enumerate only the apply task root; keep foreign names/users/executables

Comment 7, line 334

desktop/src-tauri/src/system_tasks.rs:334

/// and changed arguments. Hold database ownership locks until finished.

Comment 8, line 394

desktop/src-tauri/src/system_tasks.rs:394

// Revalidate every definition before deletion; changed ownership

Comment 9, line 395

desktop/src-tauri/src/system_tasks.rs:395

// aborts uninstall instead of deleting a replacement task.

Comment 10, line 479

desktop/src-tauri/src/system_tasks.rs:479

// Save disabling before calling the OS; an undeleted trigger must not scan.