Open ioistired opened 4 years ago
I'd have to look into it, but I'm fairly sure this would have to be done within the CFW. The "replacing" side of things is done using a modified nx-hbloader, which the original relies on Atmosphere for the button combination thing.
Maybe it's possible to check for the button combination after launch then?
Maybe? But I'm not sure if you could then get the loader to launch the normal User Page instead... I guess I'll look into it at some point
I've tried messing around with this concept and while you can prevent my app from launching when a button is held, I can't actually launch the stock User Page with the required command as LayeredFS replaces it with my app which gets into a loop until it crashes :/
One way to get around this would be to rename the exefs file (I think) so LayeredFS essentially ignores it, but then I wouldn't be able to rename it correctly upon exiting the stock User Page. Thus I think this would have to be a feature implemented in CFW, but I don't know for sure.
What facilities would have to be implemented in CFW to make this possible?
This is just a guess but I'd imagine either temporarily disabling LayeredFS (without the need to rename/delete folders, so maybe through some call?) or ignoring LayeredFS when a button is pressed on the launch of an applet/app.
Again, this is just a guess so it may not be a CFW thing, however I don't believe avoiding the override can be done without disabling LayeredFS in some way.
This is already a thing: hold L on launch. It just doesn't work with applets (unless I'm doing something wrong), so it's not possible to use it to load default profile page. So I'd report this against Atmosphere, and hopefully there's nothing that actually prevents this from being made to work with applets.
It would be nice to be able to hold down R while launching the profile to launch the stock system activity log. Perhaps it could later be configurable, so that the launch is only overridden when a certain configurable button is pressed, like Atmosphere itself.