Skip to content

[feat][autostart] added is_autostart method #2568

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ayangweb opened this issue Mar 25, 2025 · 9 comments · May be fixed by #2650
Open

[feat][autostart] added is_autostart method #2568

ayangweb opened this issue Mar 25, 2025 · 9 comments · May be fixed by #2650
Labels
enhancement New feature or request plugin: autostart

Comments

@ayangweb
Copy link
Contributor

ayangweb commented Mar 25, 2025

Hopefully a similar method can be added to determine if the application starts automatically.

@FabianLars
Copy link
Member

How would it be different to isEnabled / is_enabled? (or did you miss that method?)

@FabianLars FabianLars added enhancement New feature or request plugin: autostart labels Mar 25, 2025
@ayangweb
Copy link
Contributor Author

is_autostart is used to determine whether the application was started manually by the user or automatically with the system.

@FabianLars
Copy link
Member

ahh alright. do you know of any other framework that supports this? without looking much into it this sounds kinda impossible to me 🤔

@ayangweb
Copy link
Contributor Author

ayangweb commented Mar 25, 2025

Image Image

This is what I implemented, but it would be easier if it was built in!

@ayangweb
Copy link
Contributor Author

Perhaps this could be done by presetting an arg and letting the user fill in the rest of the args.

@FabianLars
Copy link
Member

hmm, i'd rather not mess with the args here tbh.

@ayangweb
Copy link
Contributor Author

@FabianLars Hey👋, please take a look at my implementation approach. If it’s acceptable, I’d be happy to submit a PR🌹.

ayangweb@fe117ec

@FabianLars
Copy link
Member

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 🤷

@ayangweb
Copy link
Contributor Author

#2650

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request plugin: autostart
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants