|
|
@@ -1987,6 +1987,22 @@ static int run_program(fstream &logFile, int argc, char *argv[])
|
|
|
run:
|
|
|
#endif
|
|
|
|
|
|
+#if !defined(_WIN32) && !defined(__APPLE__)
|
|
|
+ // Mounted by termina during chromeOS linux container startup
|
|
|
+ // https://chromium.googlesource.com/chromiumos/overlays/board-overlays/+/master/project-termina/chromeos-base/termina-lxd-scripts/files/lxd_setup.sh
|
|
|
+ os_dir_t *crosDir = os_opendir("/opt/google/cros-containers");
|
|
|
+ if (crosDir) {
|
|
|
+ QMessageBox::StandardButtons buttons(QMessageBox::Ok);
|
|
|
+ QMessageBox mb(QMessageBox::Critical,
|
|
|
+ QTStr("ChromeOS.Title"),
|
|
|
+ QTStr("ChromeOS.Text"), buttons,
|
|
|
+ nullptr);
|
|
|
+
|
|
|
+ mb.exec();
|
|
|
+ return 0;
|
|
|
+ }
|
|
|
+#endif
|
|
|
+
|
|
|
if (!created_log) {
|
|
|
create_log_file(logFile);
|
|
|
created_log = true;
|