mirror of
https://github.com/gutosie/neoboot.git
synced 2025-12-20 23:39:40 +01:00
Update plugin.py
This commit is contained in:
@@ -1661,15 +1661,17 @@ def main(session, **kwargs):
|
|||||||
f2 = open('%sImageBoot/.neonextboot' % getNeoLocation(), 'r')
|
f2 = open('%sImageBoot/.neonextboot' % getNeoLocation(), 'r')
|
||||||
mypath2 = f2.readline().strip()
|
mypath2 = f2.readline().strip()
|
||||||
f2.close()
|
f2.close()
|
||||||
if mypath2 != 'Flash' or mypath2 == 'Flash' and checkimage() and getCheckActivateVip() == getBoxMacAddres():
|
if mypath2 != 'Flash' or mypath2 == 'Flash' and checkimage():
|
||||||
|
if getCheckActivateVip() != getBoxMacAddres():
|
||||||
if fileExists('/.multinfo') or fileExists('/usr/lib/periodon/.fullaccess'):
|
session.open(MessageBox, _('Instal neoobot from github'), type=MessageBox.TYPE_ERROR)
|
||||||
session.open(NeoBootImageChoose)
|
|
||||||
else:
|
else:
|
||||||
if float(PLUGINVERSION) != version:
|
if fileExists('/.multinfo') or fileExists('/usr/lib/periodon/.fullaccess'):
|
||||||
session.open(MyUpgrade)
|
session.open(NeoBootImageChoose)
|
||||||
else:
|
else:
|
||||||
session.open(NeoBootImageChoose)
|
if float(PLUGINVERSION) != version:
|
||||||
|
session.open(MyUpgrade)
|
||||||
|
else:
|
||||||
|
session.open(NeoBootImageChoose)
|
||||||
else:
|
else:
|
||||||
session.open(MessageBox, _('Sorry, Unable to install, bad satellite receiver or you do not have the full plug-in version\n The full version of the NEO VIP plugin is on address:\nkrzysztofgutosie@.gmail.com'), type=MessageBox.TYPE_ERROR)
|
session.open(MessageBox, _('Sorry, Unable to install, bad satellite receiver or you do not have the full plug-in version\n The full version of the NEO VIP plugin is on address:\nkrzysztofgutosie@.gmail.com'), type=MessageBox.TYPE_ERROR)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user