This message was deleted.
# _general
s
This message was deleted.
j
I think there's a flag in a preferences file.....two seconds....
This PowerShell tells you what to replace in the crash file - as far as I know there is no policy to do it
(Get-Content $ENV:LOCALAPPDATA'\Google\Chrome\User Data\Default\Preferences').replace('"exit_type":"Crashed"', '"exit_type":"Normal"') | Set-Content $ENV:LOCALAPPDATA'\Google\Chrome\User Data\Default\Preferences'
Guess you could run this at process start to remove the flag
j
thanks, I'll have to look at the json... I'm looking at this specifically for IGEL so linux Chromium
Copy code
sed -i 's/"exited_cleanly":false/"exited_cleanly":true/' ~/.config/chromium/'Local State'
sed -i 's/"exited_cleanly":false/"exited_cleanly":true/; s/"exit_type":"[^"]\+"/"exit_type":"Normal"/' ~/.config/chromium/Default/Preferences
👍 1