[feat][autostart] added `is_autostart` method
Hopefully a similar method can be added to determine if the application starts automatically.
How would it be different to isEnabled / is_enabled? (or did you miss that method?)
is_autostart is used to determine whether the application was started manually by the user or automatically with the system.
ahh alright. do you know of any other framework that supports this? without looking much into it this sounds kinda impossible to me 🤔
This is what I implemented, but it would be easier if it was built in!
Perhaps this could be done by presetting an arg and letting the user fill in the rest of the args.
hmm, i'd rather not mess with the args here tbh.
@FabianLars Hey👋, please take a look at my implementation approach. If it’s acceptable, I’d be happy to submit a PR🌹.
https://github.com/ayangweb/plugins-workspace/commit/fe117ec82ae01eaec3efbb30b1610e161bea6d9d
hmm, maybe we should just add an args getter to the process plugin (for the js devs) and some docs and call it a day?
your approach still feels to prone to false positives to me but maybe i'm too paranoid 🤷
https://github.com/tauri-apps/plugins-workspace/pull/2650