mirror of
https://github.com/Quill-OS/quill.git
synced 2024-12-26 23:57:22 -08: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");
|
QFile::remove("/tmp/rescan_userapps");
|
||||||
log("Re-scanning user applications from explicit request", "main");
|
log("Re-scanning user applications from explicit request", "main");
|
||||||
writeFile("/opt/ibxd", "gui_apps_stop\n");
|
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");
|
writeFile("/opt/ibxd", "gui_apps_start\n");
|
||||||
while(true) {
|
while(true) {
|
||||||
if(QFile::exists("/tmp/gui_apps_started")) {
|
if(QFile::exists("/tmp/gui_apps_started")) {
|
||||||
|
|
Loading…
Reference in a new issue