Update plugin.py

This commit is contained in:
gutosie
2025-12-12 15:31:12 +02:00
committed by GitHub
parent e8cc5beb6f
commit 2361a3e796

View File

@@ -1868,7 +1868,7 @@ def main(session, **kwargs):
def menu(menuid, **kwargs):
if menuid == 'mainmenu':
return [(_('NeoBOOT'),
return [(_('neoboot'),
main,
'neo_boot',
1)]
@@ -1880,11 +1880,11 @@ from Plugins.Plugin import PluginDescriptor
def Plugins(**kwargs):
if isFHD():
list = [PluginDescriptor(name='NeoBoot', description='NeoBoot', where=PluginDescriptor.WHERE_MENU, fnc=menu), PluginDescriptor(name='NeoBoot', description=_('Installing multiple images'), icon='neo_fhd.png', where=PluginDescriptor.WHERE_PLUGINMENU, fnc=main)]
list.append(PluginDescriptor(name=_('NEOBOOT'), where=PluginDescriptor.WHERE_EXTENSIONSMENU, fnc=main))
list = [PluginDescriptor(name='neoboot', description='neoboot', where=PluginDescriptor.WHERE_MENU, fnc=menu), PluginDescriptor(name='neoboot', description=_('Installing multiple images'), icon='neo_fhd.png', where=PluginDescriptor.WHERE_PLUGINMENU, fnc=main)]
list.append(PluginDescriptor(name=_('neoboot'), where=PluginDescriptor.WHERE_EXTENSIONSMENU, fnc=main))
else:
list = [PluginDescriptor(name='NeoBoot', description='NeoBoot', where=PluginDescriptor.WHERE_MENU, fnc=menu), PluginDescriptor(name='NeoBoot', description=_('Installing multiple images'), icon='neo_hd.png', where=PluginDescriptor.WHERE_PLUGINMENU, fnc=main)]
list.append(PluginDescriptor(name=_('NEOBOOT'), where=PluginDescriptor.WHERE_EXTENSIONSMENU, fnc=main))
list = [PluginDescriptor(name='neoboot', description='neoboot', where=PluginDescriptor.WHERE_MENU, fnc=menu), PluginDescriptor(name='neoboot', description=_('Installing multiple images'), icon='neo_hd.png', where=PluginDescriptor.WHERE_PLUGINMENU, fnc=main)]
list.append(PluginDescriptor(name=_('neoboot'), where=PluginDescriptor.WHERE_EXTENSIONSMENU, fnc=main))
return list
####################### _q(-_-)p_ gutosie _q(-_-)p_ #######################