Skip to main content

is_enabled

Function is_enabled 

Source
pub fn is_enabled() -> bool
Expand description

Is auto-start currently registered?

Half of the WS4 uninstall contract: an uninstall path is only “independently testable” if something can answer this without trusting whatever wrote it. So this inspects the real system state (the Task Scheduler store, or the artifact file) rather than any bookkeeping of our own.