#!/usr/bin/bash
rm -v $HOME/.config/BraveSoftware/Brave-Browser/SingletonLock
echo "Brave-browser should no longer show error like:"

echo "[PID_A:PID_A:DATE/TIME:ERROR:chrome/browser/process_singleton_posix.cc:365] The profile appears to be in use by another Brave process (PID_B) on another computer (HOST_NAME). Brave has locked the profile so that it doesn't get corrupted. If you are sure no other processes are using this profile, you can unlock the profile and relaunch Brave."

echo "[PID_A:PID_A:DATE/TIME:ERROR:chrome/browser/ui/views/message_box_dialog.cc:199] Unable to show message box: Brave - The profile appears to be in use by another Brave process (PID_B) on another computer (HOST_NAME). Brave has locked the profile so that it doesn't get corrupted. If you are sure no other processes are using this profile, you can unlock the profile and relaunch Brave."

