添加内核logo程序更新;编辑界面打开时;所有item相对对齐到scene(0,0);
This commit is contained in:
@@ -648,12 +648,19 @@ void SystemManage::ondialogAuthorizationAccepted()
|
||||
snprintf(cmd,sizeof(cmd),"chmod a+x /home/plg/qt4");
|
||||
res = system(cmd);
|
||||
}
|
||||
|
||||
if(file.exists("/udisk/psplash")) {
|
||||
system("cp /udisk/psplash /usr/bin");
|
||||
system("chmod 777 /usr/bin/psplash");
|
||||
}
|
||||
|
||||
snprintf(cmd,sizeof(cmd),"cp /udisk/emergency /home/plg/");
|
||||
res = system(cmd);
|
||||
snprintf(cmd,sizeof(cmd),"chmod a+x /udisk/ss");
|
||||
res = system(cmd);
|
||||
snprintf(cmd,sizeof(cmd),"/udisk/ss");
|
||||
res = system(cmd);
|
||||
system("sync");
|
||||
QMessageBox::information(this, tr("提示"), tr("软件更新成功,重启后生效!"));
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user