Hiding autostart functionality behind feature gate "autostart"

This commit is contained in:
ellieplayswow 2025-02-21 20:02:20 +00:00 committed by Victoria Brekenfeld
parent 69987c1a0d
commit b21878d549
2 changed files with 5 additions and 3 deletions

View file

@ -457,6 +457,7 @@ async fn start(
};
};
#[cfg(feature = "autostart")]
if !*is_systemd_used() {
info!("looking for autostart folders");
let mut directories_to_scan = Vec::new();