mirror of
https://mojerepo.cf/NeoBoot/NeoBoot-9.git
synced 2025-10-27 22:46:05 +01:00
neo_vip
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
#!/usr/bin/python
|
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
####################### _(-_-)_ gutosie _(-_-)_ #######################
|
####################### _(-_-)_ gutosie _(-_-)_ #######################
|
||||||
@@ -1382,7 +1381,7 @@ def checkInternet():
|
|||||||
|
|
||||||
def checkimage():
|
def checkimage():
|
||||||
mycheck = False
|
mycheck = False
|
||||||
if not fileExists('/proc/stb/info') or not fileExists('' + LinkNeoBoot + '/neoskins/osans.ttf') or not fileExists('' + LinkNeoBoot + '/files/neoconsole.pyo') or not fileExists('' + LinkNeoBoot + '/usedskin.pyo') or not fileExists('' + LinkNeoBoot + '/neoskins/sagoe.ttf'):
|
if not fileExists('/proc/stb/info') or not fileExists('' + LinkNeoBoot + '/neoskins/neo/neo_skin.py') or not fileExists('' + LinkNeoBoot + '/tmpfiles') or not fileExists('' + LinkNeoBoot + '/usedskin.pyo') or not fileExists('' + LinkNeoBoot + '/etc/neo'):
|
||||||
mycheck = False
|
mycheck = False
|
||||||
else:
|
else:
|
||||||
mycheck = True
|
mycheck = True
|
||||||
@@ -1432,4 +1431,5 @@ from Plugins.Plugin import PluginDescriptor
|
|||||||
def Plugins(**kwargs):
|
def Plugins(**kwargs):
|
||||||
return [PluginDescriptor(name='NeoBoot', description='NeoBoot', where=PluginDescriptor.WHERE_MENU, fnc=menu), PluginDescriptor(name='NeoBoot', description=_('Installing multiple images'), icon='neo.png', where=PluginDescriptor.WHERE_PLUGINMENU, fnc=main)]
|
return [PluginDescriptor(name='NeoBoot', description='NeoBoot', where=PluginDescriptor.WHERE_MENU, fnc=menu), PluginDescriptor(name='NeoBoot', description=_('Installing multiple images'), icon='neo.png', where=PluginDescriptor.WHERE_PLUGINMENU, fnc=main)]
|
||||||
|
|
||||||
####################### _(-_-)_ gutosie _(-_-)_ #######################
|
####################### _q(-_-)p_ gutosie _(-_-)_ #######################
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user