Drop to a desktop if the install fails or is canceled.

This commit is contained in:
Aaron Rainbolt 2023-02-06 16:26:11 -06:00
parent 9f9f7118eb
commit 6af8cc8c87

View File

@ -46,6 +46,9 @@ void InstallerPrompt::installLubuntu()
{
QProcess *calamares = new QProcess(this);
calamares->start("/usr/libexec/lubuntu-installer");
// If Calamares exits, it either crashed or the user cancelled the installation. Exit the installer prompt (and start LXQt).
connect(calamares, &QProcess::finished, this, &InstallerPrompt::tryLubuntu);
}
InstallerPrompt::~InstallerPrompt()