mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-09-29 07:02:20 +08:00
fix: 修复应用详情页“应用反馈”按钮点击后无法调起交流平台问题
QProcess::startDetached 函数调用入参错误 Log: 修改调用方式,拆开 sh 和启动脚本地址分别用于 program 和 arguments
This commit is contained in:
parent
cc54014b29
commit
c169622806
@ -386,11 +386,11 @@ void AppIntoPage::on_shareButton_clicked()
|
|||||||
void AppIntoPage::on_updateButton_clicked()
|
void AppIntoPage::on_updateButton_clicked()
|
||||||
{
|
{
|
||||||
QString feedbackSpk = "spk://store/chat/store.spark-app.feedback";
|
QString feedbackSpk = "spk://store/chat/store.spark-app.feedback";
|
||||||
QFile actionSubmissionClientStatus("/opt/durapps/store.spark-app.feedback");
|
QFileInfo actionSubmissionClientStatus("/opt/durapps/store.spark-app.feedback");
|
||||||
if (actionSubmissionClientStatus.exists())
|
if (actionSubmissionClientStatus.exists() && actionSubmissionClientStatus.isDir())
|
||||||
{
|
{
|
||||||
qDebug() << "反馈器存在";
|
qDebug() << "反馈器存在";
|
||||||
QProcess::startDetached("sh /opt/durapps/store.spark-app.feedback/launch.sh", QStringList());
|
QProcess::startDetached("sh", QStringList() << "/opt/durapps/store.spark-app.feedback/launch.sh");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user