mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-07-25 06:52:20 +08:00
Pre Merge pull request !329 from C炳/dev
This commit is contained in:
commit
1a605de361
@ -595,16 +595,6 @@ 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 feedbackURL = "https://bbs.spark-app.store/";
|
||||||
QFileInfo actionSubmissionClientStatus("/opt/durapps/store.spark-app.feedback");
|
QProcess::startDetached("xdg-open", feedbackURL);
|
||||||
if (actionSubmissionClientStatus.exists() && actionSubmissionClientStatus.isDir())
|
|
||||||
{
|
|
||||||
qDebug() << "反馈器存在";
|
|
||||||
QProcess::startDetached("sh", QStringList() << "/opt/durapps/store.spark-app.feedback/launch.sh");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
qDebug() << "反馈器不存在,跳转页面";
|
|
||||||
openUrl(feedbackSpk);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user