I made an app that listens to certain hotkeys and opens specific apps. It runs in the background all the time and consumes at most 10MB of RAM and 0% cpu at idle. The app runs everytime you boot up your pc, but I noticed that the "Startup impact" is high on task manager. It's clear that the app starts around 33 processes and when looking at them they seem unnecessary for such a simple app. Are they necessary? if not, how do I disable them?
This is how I have it set up in rust:
.plugin(tauri_plugin_autostart::init(
tauri_plugin_autostart::MacosLauncher::LaunchAgent,
Some(["--hidden"].to_vec()),
))