Skip to main content

enable

Function enable 

Source
pub fn enable(exe: &Path, channel: &str) -> Result<(), String>
Expand description

Register auto-start for exe. Idempotent: re-registering an existing entry replaces it, which is also how an upgrade repoints the artifact at a new install path.