Fix disabling Open-Shell options under Windows 11
This commit is contained in:
parent
67fff6d1a5
commit
ee96dc087a
2 changed files with 3 additions and 3 deletions
|
|
@ -13,8 +13,8 @@ BROWSER_PATHS = {
|
||||||
FAB_TIMEFRAME = 14 # If it's been at least this many days don't prompt for an AV scan
|
FAB_TIMEFRAME = 14 # If it's been at least this many days don't prompt for an AV scan
|
||||||
DISABLED_ENTRIES_WINDOWS_11 = {
|
DISABLED_ENTRIES_WINDOWS_11 = {
|
||||||
# Group Name: Option Name
|
# Group Name: Option Name
|
||||||
'Install Software': 'Open Shell',
|
'Install Software': 'Open-Shell',
|
||||||
'Configure System': 'Open Shell',
|
'Configure System': 'Open-Shell',
|
||||||
}
|
}
|
||||||
LIBREOFFICE_XCU_DATA = '''<?xml version="1.0" encoding="UTF-8"?>
|
LIBREOFFICE_XCU_DATA = '''<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<oor:items xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
<oor:items xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||||
|
|
|
||||||
|
|
@ -247,7 +247,7 @@ def load_preset(menus, presets, title, enable_menu_exit=True):
|
||||||
print('')
|
print('')
|
||||||
if selection[0] == 'Default':
|
if selection[0] == 'Default':
|
||||||
# OpenShell
|
# OpenShell
|
||||||
if ask('Install OpenShell?'):
|
if OS_VERSION != 11 and ask('Install OpenShell?'):
|
||||||
menus['Install Software'].options['Open-Shell']['Selected'] = True
|
menus['Install Software'].options['Open-Shell']['Selected'] = True
|
||||||
menus['Configure System'].options['Open-Shell']['Selected'] = True
|
menus['Configure System'].options['Open-Shell']['Selected'] = True
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue