mirror of
https://github.com/gutosie/neoboot.git
synced 2025-10-29 10:26:05 +01:00
Add files via upload
This commit is contained in:
@@ -1762,10 +1762,13 @@ class Opis(Screen):
|
|||||||
ybox = self.session.openWithCallback(self.neogithub, MessageBox, message, MessageBox.TYPE_YESNO)
|
ybox = self.session.openWithCallback(self.neogithub, MessageBox, message, MessageBox.TYPE_YESNO)
|
||||||
ybox.setTitle(_('Install.'))
|
ybox.setTitle(_('Install.'))
|
||||||
|
|
||||||
def neogithub(self, answer):
|
def neogithub(self, answer):
|
||||||
|
if answer is True:
|
||||||
cmd1 = 'curl -kLs https://raw.githubusercontent.com/gutosie/neoboot/master/iNB.sh|sh'
|
cmd1 = 'curl -kLs https://raw.githubusercontent.com/gutosie/neoboot/master/iNB.sh|sh'
|
||||||
self.session.open(Console, _('NeoBoot....'), [cmd1])
|
self.session.open(Console, _('NeoBoot....'), [cmd1])
|
||||||
self.close()
|
self.close()
|
||||||
|
else:
|
||||||
|
self.close()
|
||||||
|
|
||||||
def delete(self):
|
def delete(self):
|
||||||
message = _('Are you sure you want to completely remove NeoBoota of your image?\n\nIf you choose so all directories NeoBoota will be removed.\nA restore the original image settings Flash.')
|
message = _('Are you sure you want to completely remove NeoBoota of your image?\n\nIf you choose so all directories NeoBoota will be removed.\nA restore the original image settings Flash.')
|
||||||
|
|||||||
Reference in New Issue
Block a user