diff --git a/mainwindow.cpp b/mainwindow.cpp index 49f74f8..ef0689b 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -564,6 +564,11 @@ MainWindow::MainWindow(QWidget *parent) reboot(true); } + + // Write version control info to file in tmpfs + if(checkconfig("/opt/inkbox_genuine") == true) { + string_writeconfig("/external_root/run/inkbox_gui_git_commit", GIT_VERSION); + } } MainWindow::~MainWindow()