This commit is contained in:
2Shirt 2019-11-16 17:35:48 -07:00
parent d69b0051e1
commit 4aca178f85
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C
2 changed files with 4 additions and 4 deletions

View file

@ -182,9 +182,9 @@ def disable_chrome_notifications():
# Set notifications blocks
defaults_key = 'default_content_setting_values'
if defaults_key not in pref_data['profiles']:
pref_data['profiles'][defaults_key] = {}
pref_data['profiles'][defaults_key]['notifications'] = 2
if defaults_key not in pref_data['profile']:
pref_data['profile'][defaults_key] = {}
pref_data['profile'][defaults_key]['notifications'] = 2
# Write new preferences
with open(pref_file, 'w') as f:

View file

@ -89,7 +89,7 @@ NINITE_SOURCES = {
'base7.exe': '.net4.8-7zip-vlc',
'base-standard.exe': '.net4.8-7zip-chrome-classicstart-firefox-sumatrapdf-vlc',
'base-standard7.exe': '.net4.8-7zip-chrome-firefox-sumatrapdf-vlc',
'standard.exe': 'chrome-classicstart-firefox-sumatrapdf',
'standard.exe': 'chrome-firefox-sumatrapdf',
'standard7.exe': 'chrome-firefox-sumatrapdf',
},
'Audio-Video': {