fix: 修复无法启动玲珑应用对应功能的问题

对于玲珑应用以dbus-send开头的命令,不做特殊的处理

Log:
Influence: 从任务栏触发截图录屏玲珑应用的全屏截图和延时截图的功能,判断是否可以正常使用
Bug: https://pms.uniontech.com/bug-view-177111.html
Change-Id: I3251981e425e2804a9b0baf34e36c9f3a6dedc70
This commit is contained in:
donghualin
2023-01-06 14:37:06 +08:00
parent f992093c3f
commit 3a9c1f4952

View File

@ -436,7 +436,7 @@ bool StartManager::launch(DesktopInfo *info, QString cmdLine, uint32_t timestamp
process.setWorkingDirectory(workingDir.c_str());
process.setEnvironment(envs);
if (desktopFile.contains("/persistent/linglong")) {
if (exec != "dbus-send" && desktopFile.contains("/persistent/linglong")) {
exeArgs.clear();
#ifdef QT_DEBUG