Add non-root clause for VNC viewer

This commit is contained in:
Nicolas Mailloux 2021-07-09 15:12:53 -04:00
parent e5431f06ef
commit 028b0063c6

View file

@ -31,6 +31,8 @@ apps::apps(QWidget *parent) :
ui->koboxAppsOpenButton->hide();
ui->label_5->deleteLater();
ui->koboxAppsOpenButton->deleteLater();
}
if(checkconfig("/external_root/opt/root/rooted") == false or checkconfig("/external_root/boot/flags/X11_START") == false) {
ui->vncViewerLabel->hide();
ui->vncLaunchBtn->hide();
ui->vncViewerLabel->deleteLater();