fix: AM 适配打开参数问题

1. 适配%f,%F,%u,%U 几个识别字段,%i,%c,%k,%v,后面遇到相关问题后再继续适配
2. 直接读取Desktop文件中Exec字段内容,启动应用

Log:
Influence: 1. 双击桌面文件夹-打开文件夹功能正常;
2. 打开文件展示文件后直接展示内容
3. 截图录屏后文件可以正常打开
4. 双击桌面图标,应用可以正常打开
5. 双击音乐文件后,音乐文件正常播放
Bug: https://pms.uniontech.com/bug-view-182185.html
Bug: https://pms.uniontech.com/bug-view-182161.html
Bug: https://pms.uniontech.com/bug-view-182395.html
Bug: https://pms.uniontech.com/bug-view-182327.html
Bug: https://pms.uniontech.com/bug-view-182137.html
Change-Id: I67a156ec0c8ab8824bf880646d1fe642959f4b20
This commit is contained in:
songwentao
2023-01-09 13:56:17 +08:00
parent b9372feb9a
commit 88c390616a
2 changed files with 44 additions and 11 deletions

View File

@ -73,6 +73,7 @@ private:
QMap<QString, QString> getDesktopToAutostartMap();
void setIsDBusCalled(const bool state);
bool isDBusCalled() const;
void handleRecognizeArgs(QStringList &exeArgs, QStringList files);
uint64_t minMemAvail;
uint64_t maxSwapUsed;