mirror of
https://github.com/gutosie/neoboot.git
synced 2025-12-27 02:30:04 +01:00
Update plugin.py
This commit is contained in:
@@ -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_ #######################
|
||||
|
||||
Reference in New Issue
Block a user