diff --git a/installer/installer.c b/installer/installer.c index 43a72c2..6304d6e 100644 --- a/installer/installer.c +++ b/installer/installer.c @@ -7,6 +7,7 @@ #include #include #include +#include #include "ui.h" #include "send.h" #include "icfg.h" @@ -192,6 +193,10 @@ static void step_inject(void){ int main(void){ int q; if(ui_init() != 0) return 1; + /* Let the system finish bringing the app to foreground before the + * first dialog: opening one mid-transition gets auto-dismissed + * (looks like a half-second flash, then the app exits). */ + sceKernelSleep(3); q = ui_confirm("Install orbisRPC?\n\nCopies the daemon, sets up config, checks WiFi, saves your token, and starts it."); if(q != 1) return 0; if(step_files() != 0) return 1;