应用反馈跳转至浏览器

Merge pull request  from C炳/dev
This commit is contained in:
shenmo 2025-03-08 11:58:12 +00:00 committed by Gitee
commit 470666cf41
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -595,16 +595,6 @@ void AppIntoPage::on_shareButton_clicked()
void AppIntoPage::on_updateButton_clicked()
{
QString feedbackSpk = "spk://store/chat/store.spark-app.feedback";
QFileInfo actionSubmissionClientStatus("/opt/durapps/store.spark-app.feedback");
if (actionSubmissionClientStatus.exists() && actionSubmissionClientStatus.isDir())
{
qDebug() << "反馈器存在";
QProcess::startDetached("sh", QStringList() << "/opt/durapps/store.spark-app.feedback/launch.sh");
}
else
{
qDebug() << "反馈器不存在,跳转页面";
openUrl(feedbackSpk);
}
QString feedbackURL = "https://bbs.spark-app.store/";
QProcess::startDetached("xdg-open", feedbackURL);
}