This commit is contained in:
gutosie
2020-05-11 16:42:47 +03:00
committed by GitHub
parent e740f386c0
commit 15d156b6dc

View File

@@ -1,4 +1,3 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
####################### _(-_-)_ gutosie _(-_-)_ #######################
@@ -1382,7 +1381,7 @@ def checkInternet():
def checkimage():
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
else:
mycheck = True
@@ -1432,4 +1431,5 @@ from Plugins.Plugin import PluginDescriptor
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)]
####################### _(-_-)_ gutosie _(-_-)_ #######################
####################### _q(-_-)p_ gutosie _(-_-)_ #######################