How do I disable onboarding and the app picker from my custom app frappe 15 app?

I used to disable onboarding by running this in the after_install of my custom app

frappe.db.set_single_value("System Settings", "enable_onboarding", 0)

It doesn’t seem to work anymore. I also don’t know how to disable the app picker when logging in. I set default app in the site config but it doesn’t seem to work. Either way I want it done during app installation automatically. Is that possible?

Why create complexity? Please go to the system settings and disable the “Enable Onboarding” option, simple!

It’s mostly to automate the setup when creating new sites