diff --git a/.bin/Scripts/functions/browsers.py b/.bin/Scripts/functions/browsers.py index 5a5a66d5..185ea755 100644 --- a/.bin/Scripts/functions/browsers.py +++ b/.bin/Scripts/functions/browsers.py @@ -166,6 +166,11 @@ def clean_mozilla_profile(profile): def disable_chrome_notifications(): """TODO""" + # Kill running instances + kill_process('chrome.exe') + sleep(1) + kill_process('chrome.exe') + for profile in browser_data.get('Google Chrome', {}).get('profiles', []): pref_file = pathlib.Path(f'{profile["user_data_path"]}/Preferences') if pref_file.exists():