Depending whether app was started by the user or autostart I would like either open GUI or minimize the app. Is there any way to programmatically detect that? Partially related to: https://github.com/leanflutter/launch_at_startup/issues/22