mambabase: remove autostart file when finished
This commit is contained in:
parent
53cef707b8
commit
b30fb08934
@ -195,6 +195,14 @@ class InstallThread(QtCore.QThread):
|
||||
'label': _("Installation finished!"),
|
||||
'details': _("Installation finished!")})
|
||||
|
||||
# Remove any autostart file
|
||||
try:
|
||||
file_path = Path.home() / ".config/autostart/mambabase.desktop"
|
||||
file_path.unlink()
|
||||
print(file_path)
|
||||
except:
|
||||
None
|
||||
|
||||
# Enable back and next buttons
|
||||
parent.installationPage.done = True
|
||||
self.doneSignal.emit()
|
||||
|
Loading…
Reference in New Issue
Block a user