mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-03 20:55:47 +01:00
Update unpack.py
This commit is contained in:
@@ -30,12 +30,9 @@ from os import system, listdir, mkdir, chdir, getcwd, rename as os_rename, remov
|
|||||||
from os.path import dirname, isdir, isdir as os_isdir
|
from os.path import dirname, isdir, isdir as os_isdir
|
||||||
import os
|
import os
|
||||||
import time
|
import time
|
||||||
if fileExists('/etc/vtiversion.info') or fileExists('/etc/bhversion') or fileExists('/usr/lib/python3.8') or fileExists('/usr/lib/python3.9') :
|
if not fileExists('/etc/vtiversion.info') and not fileExists('/etc/bhversion') and fileExists('/usr/lib/python2.7'):
|
||||||
from Screens.Console import Console
|
|
||||||
else:
|
|
||||||
try:
|
|
||||||
from Plugins.Extensions.NeoBoot.files.neoconsole import Console
|
from Plugins.Extensions.NeoBoot.files.neoconsole import Console
|
||||||
except:
|
else:
|
||||||
from Screens.Console import Console
|
from Screens.Console import Console
|
||||||
LinkNeoBoot = '/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot'
|
LinkNeoBoot = '/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user