mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-03 04:35:47 +01:00
Add files via upload
This commit is contained in:
@@ -983,7 +983,7 @@ class NeoBootImageChoose(Screen):
|
|||||||
|
|
||||||
#Zablokowanie aktualizacji przez zmiane nazwy neoboot_update na neoboot_update2 i likwidacja 3 lini hastagu wyzej
|
#Zablokowanie aktualizacji przez zmiane nazwy neoboot_update na neoboot_update2 i likwidacja 3 lini hastagu wyzej
|
||||||
def neoboot_update(self):
|
def neoboot_update(self):
|
||||||
if getTestIn() != getTestOut():
|
if getTestInTime() == getTestOutTime() or getTestIn() != getTestOut():
|
||||||
myerror = _('Sorry, this is not neoboot vip version.\nGet NEO-VIP version, more info press blue button.')
|
myerror = _('Sorry, this is not neoboot vip version.\nGet NEO-VIP version, more info press blue button.')
|
||||||
self.session.open(MessageBox, myerror, MessageBox.TYPE_INFO)
|
self.session.open(MessageBox, myerror, MessageBox.TYPE_INFO)
|
||||||
else:
|
else:
|
||||||
@@ -1500,7 +1500,7 @@ def main(session, **kwargs):
|
|||||||
vip = checkimage()
|
vip = checkimage()
|
||||||
if vip == 1:
|
if vip == 1:
|
||||||
if fileExists('' + LinkNeoBoot + '/.location'):
|
if fileExists('' + LinkNeoBoot + '/.location'):
|
||||||
if getTestInTime() == getTestOutTime() or not fileExists('/usr/lib/periodon/.accesdate') or getAccesDate() != 'isaccess' :
|
if not fileExists('/usr/lib/periodon/.accesdate') or getAccesDate() != 'isaccess' :
|
||||||
system('rm /usr/lib/periodon/.kodn')
|
system('rm /usr/lib/periodon/.kodn')
|
||||||
session.open(MessageBox, _('Neoboot vip version has expired, please re-access.'), type=MessageBox.TYPE_ERROR)
|
session.open(MessageBox, _('Neoboot vip version has expired, please re-access.'), type=MessageBox.TYPE_ERROR)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user