mirror of
https://github.com/gutosie/neoboot.git
synced 2025-10-29 18:36:04 +01:00
Add files via upload
This commit is contained in:
@@ -37,11 +37,14 @@ from stbbranding import fileCheck, getNeoLocation, getImageNeoBoot, getKernelVer
|
|||||||
import os
|
import os
|
||||||
import time
|
import time
|
||||||
import sys
|
import sys
|
||||||
import struct, shutil
|
import struct, shutil
|
||||||
if fileExists('/etc/vtiversion.info') or fileExists('/usr/lib/python3.8') and fileExists('/.multinfo'):
|
if fileExists('/etc/vtiversion.info') or fileExists('/etc/bhversion') or fileExists('/usr/lib/python3.8') and fileExists('/.multinfo'):
|
||||||
from Screens.Console import Console
|
from Screens.Console import Console
|
||||||
else:
|
else:
|
||||||
from Plugins.Extensions.NeoBoot.files.neoconsole import Console
|
try:
|
||||||
|
from Plugins.Extensions.NeoBoot.files.neoconsole import Console
|
||||||
|
except:
|
||||||
|
from Screens.Console import Console
|
||||||
LinkNeoBoot = '/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot'
|
LinkNeoBoot = '/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot'
|
||||||
neoboot = getNeoLocation()
|
neoboot = getNeoLocation()
|
||||||
media = getNeoLocation()
|
media = getNeoLocation()
|
||||||
|
|||||||
Reference in New Issue
Block a user