mirror of
https://mojerepo.cf/NeoBoot/NeoBoot-9.git
synced 2025-12-21 23:39:42 +01:00
update 8.18
This commit is contained in:
@@ -883,7 +883,7 @@ def NEOBootExtract(source, target, ZipDelete, BlackHole):
|
|||||||
|
|
||||||
#Instalacja image nandsim
|
#Instalacja image nandsim
|
||||||
os.system('echo "Instalacja - nandsim w toku..."')
|
os.system('echo "Instalacja - nandsim w toku..."')
|
||||||
rc = os.system('insmod /lib/modules/%s/kernel/drivers/mtd/nand/nandsim.ko cache_file=' + getNeoLocation() + 'image_cache first_id_byte=0x20 second_id_byte=0xaa third_id_byte=0x00 fourth_id_byte=0x15;sleep 5' % getKernelVersion())
|
rc = os.system('insmod /lib/modules/' + getKernelVersion() + '/kernel/drivers/mtd/nand/nandsim.ko cache_file=' + getNeoLocation() + 'image_cache first_id_byte=0x20 second_id_byte=0xaa third_id_byte=0x00 fourth_id_byte=0x15;sleep 5' )#% getKernelVersion())
|
||||||
cmd = 'dd if=%s of=/dev/mtdblock%s bs=2048' % (rootfname, mtd)
|
cmd = 'dd if=%s of=/dev/mtdblock%s bs=2048' % (rootfname, mtd)
|
||||||
rc = os.system(cmd)
|
rc = os.system(cmd)
|
||||||
cmd = 'ubiattach /dev/ubi_ctrl -m %s -O 2048' % mtd
|
cmd = 'ubiattach /dev/ubi_ctrl -m %s -O 2048' % mtd
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ LinkNeoBoot = '/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot'
|
|||||||
# warranty, use at YOUR own risk.
|
# warranty, use at YOUR own risk.
|
||||||
|
|
||||||
PLUGINVERSION = '8.01'
|
PLUGINVERSION = '8.01'
|
||||||
UPDATEVERSION = '8.17'
|
UPDATEVERSION = '8.18'
|
||||||
|
|
||||||
def Freespace(dev):
|
def Freespace(dev):
|
||||||
statdev = os.statvfs(dev)
|
statdev = os.statvfs(dev)
|
||||||
@@ -60,10 +60,37 @@ def Freespace(dev):
|
|||||||
class MyUpgrade(Screen):
|
class MyUpgrade(Screen):
|
||||||
screenwidth = getDesktop(0).size().width()
|
screenwidth = getDesktop(0).size().width()
|
||||||
if screenwidth and screenwidth == 1920:
|
if screenwidth and screenwidth == 1920:
|
||||||
skin = """<screen position="center,center" size="1280,570" title="Tools Neoboot"><ePixmap position="594,226" zPosition="-2" size="623,313" pixmap="/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/images/matrix.png" /><widget source="list" render="Listbox" position="33,127" size="1229,82" scrollbarMode="showOnDemand"><convert type="TemplatedMultiContent">\{"template": [MultiContentEntryText(pos = (90, 1), size = (920, 66), flags = RT_HALIGN_LEFT|RT_VALIGN_CENTER, text = 0),MultiContentEntryPixmapAlphaTest(pos = (8, 4), size = (66, 66), png = 1),],"fonts": [gFont("Regular", 40)],"itemHeight": 66}</convert></widget><eLabel text="NeoBoot wykry\xc5\x82 nowsz\xc4\x85 wersj\xc4\x99. " font="Regular; 40" position="27,40" size="1042,70" halign="center" foregroundColor="red" backgroundColor="black" transparent="1" /><eLabel text="EXIT - Zrezygnuj" font="Regular; 40" position="27,441" size="389,80" halign="center" foregroundColor="yellow" backgroundColor="black" transparent="1" /></screen>"""
|
skin = """<screen position="center,center" size="1280,570" title="Tools Neoboot">
|
||||||
|
<ePixmap position="594,226" zPosition="-2" size="623,313" pixmap="/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/images/matrix.png" />
|
||||||
|
<widget source="list" render="Listbox" position="33,127" size="1229,82" scrollbarMode="showOnDemand">
|
||||||
|
<convert type="TemplatedMultiContent">\
|
||||||
|
{"template": [MultiContentEntryText(pos = (90, 1), size = (920, 66), flags = RT_HALIGN_LEFT|RT_VALIGN_CENTER, text = 0),
|
||||||
|
MultiContentEntryPixmapAlphaTest(pos = (8, 4), size = (66, 66), png = 1),
|
||||||
|
],
|
||||||
|
"fonts": [gFont("Regular", 40)],
|
||||||
|
"itemHeight": 66
|
||||||
|
}
|
||||||
|
</convert>
|
||||||
|
</widget>
|
||||||
|
<eLabel text="NeoBoot wykry\xc5\x82 nowsz\xc4\x85 wersj\xc4\x99. " font="Regular; 40" position="27,40" size="1042,70" halign="center" foregroundColor="red" backgroundColor="black" transparent="1" />
|
||||||
|
<eLabel text="EXIT - Zrezygnuj" font="Regular; 40" position="27,441" size="389,80" halign="center" foregroundColor="yellow" backgroundColor="black" transparent="1" />
|
||||||
|
</screen>"""
|
||||||
else:
|
else:
|
||||||
skin = """<screen position="center,center" size="1127,569" title="Tools NeoBoot"><ePixmap position="492,223" zPosition="-2" size="589,298" pixmap="/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/images/matrix.png" /><widget source="list" render="Listbox" position="18,122" size="1085,82" scrollbarMode="showOnDemand"><convert type="TemplatedMultiContent">{"template": [MultiContentEntryText(pos = (90, 1), size = (920, 66), flags = RT_HALIGN_LEFT|RT_VALIGN_CENTER, text = 0),MultiContentEntryPixmapAlphaTest(pos = (8, 4), size = (66, 66), png = 1),],"fonts": [gFont("Regular", 40)],"itemHeight": 66}</convert></widget><eLabel text="NeoBoot wykry\xc5\x82 nowsz\xc4\x85 wersj\xc4\x99 wtyczki. " font="Regular; 40" position="27,40" size="1042,70" halign="center" foregroundColor="red" backgroundColor="black" transparent="1" /><eLabel text="EXIT - Zrezygnuj" font="Regular; 40" position="27,441" size="389,80" halign="center" foregroundColor="yellow" backgroundColor="black" transparent="1" /></screen>"""
|
skin = """<screen position="center,center" size="1127,569" title="Tools NeoBoot">
|
||||||
|
<ePixmap position="492,223" zPosition="-2" size="589,298" pixmap="/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/images/matrix.png" />
|
||||||
|
<widget source="list" render="Listbox" position="18,122" size="1085,82" scrollbarMode="showOnDemand">
|
||||||
|
<convert type="TemplatedMultiContent">
|
||||||
|
{"template": [MultiContentEntryText(pos = (90, 1), size = (920, 66), flags = RT_HALIGN_LEFT|RT_VALIGN_CENTER, text = 0),
|
||||||
|
MultiContentEntryPixmapAlphaTest(pos = (8, 4), size = (66, 66), png = 1),
|
||||||
|
],
|
||||||
|
"fonts": [gFont("Regular", 40)],
|
||||||
|
"itemHeight": 66
|
||||||
|
}
|
||||||
|
</convert>
|
||||||
|
</widget>
|
||||||
|
<eLabel text="NeoBoot wykry\xc5\x82 nowsz\xc4\x85 wersj\xc4\x99 wtyczki. " font="Regular; 40" position="27,40" size="1042,70" halign="center" foregroundColor="red" backgroundColor="black" transparent="1" />
|
||||||
|
<eLabel text="EXIT - Zrezygnuj" font="Regular; 40" position="27,441" size="389,80" halign="center" foregroundColor="yellow" backgroundColor="black" transparent="1" />
|
||||||
|
</screen>"""
|
||||||
__module__ = __name__
|
__module__ = __name__
|
||||||
|
|
||||||
def __init__(self, session):
|
def __init__(self, session):
|
||||||
|
|||||||
Reference in New Issue
Block a user