mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-02 12:25:46 +01:00
Update plugin.py
This commit is contained in:
@@ -1123,7 +1123,7 @@ class NeoBootImageChoose(Screen):
|
|||||||
|
|
||||||
def restartGUI(self, answer):
|
def restartGUI(self, answer):
|
||||||
if answer is True:
|
if answer is True:
|
||||||
os.system('rm -f ' + LinkNeoBoot + '/.location; rm -r ' + LinkNeoBoot + '/ubi_reader')
|
os.system('rm -f ' + LinkNeoBoot + '/.location; rm -r ' + LinkNeoBoot + '/ubi_reader; chattr +i ' + LinkNeoBoot + '/plugin.py; chattr +i ' + LinkNeoBoot + '/plugin.pyo')
|
||||||
self.session.open(TryQuitMainloop, 3)
|
self.session.open(TryQuitMainloop, 3)
|
||||||
else:
|
else:
|
||||||
self.close()
|
self.close()
|
||||||
|
|||||||
Reference in New Issue
Block a user