mirror of
https://github.com/Quill-OS/quill.git
synced 2024-10-31 21:33:22 -07:00
main.cpp
: Improvements
This commit is contained in:
parent
914618c95c
commit
cf7b355134
1 changed files with 7 additions and 1 deletions
|
@ -66,7 +66,13 @@ int main(int argc, char *argv[])
|
|||
QFile::remove("/tmp/rescan_userapps");
|
||||
log("Re-scanning user applications from explicit request", "main");
|
||||
writeFile("/opt/ibxd", "gui_apps_stop\n");
|
||||
QThread::msleep(1000);
|
||||
while(true) {
|
||||
if(QFile::exists("/tmp/gui_apps_stopped")) {
|
||||
log("there");
|
||||
QFile::remove("/tmp/gui_apps_stopped");
|
||||
break;
|
||||
}
|
||||
}
|
||||
writeFile("/opt/ibxd", "gui_apps_start\n");
|
||||
while(true) {
|
||||
if(QFile::exists("/tmp/gui_apps_started")) {
|
||||
|
|
Loading…
Reference in a new issue