diff --git a/.bin/Scripts/functions/browsers.py b/.bin/Scripts/functions/browsers.py index 096e96ed..e22caf8c 100644 --- a/.bin/Scripts/functions/browsers.py +++ b/.bin/Scripts/functions/browsers.py @@ -171,8 +171,11 @@ def disable_chrome_notifications(): sleep(1) kill_process('chrome.exe') + # Update browser_data + scan_for_browsers(silent=True, skip_ie=True) + for profile in browser_data.get('Google Chrome', {}).get('profiles', []): - pref_file = pathlib.Path(f'{profile["user_data_path"]}/Preferences') + pref_file = pathlib.Path(f'{profile["path"]}/Preferences') if pref_file.exists(): pref_data = None