I am running Chromium in a kiosk-like environment and if the computer is powered off forcefully while Chromium is running, the next time it boots it will display the message "Chromium didn't shut down correctly. To reopen the pages you had open, click Restore."
I have tried saving some files within the ~/.config/chromium directory and replacing them before chromium loads but it doesnt seem to help. I cannot replace the entire folder as I need to keep things like local storage and cookies working normally.
I want to either HIDE this message from appearing, check for its existence and remove it, or prevent it being triggered in the first place.
Any advice?!