From 04047c1e4434f70f5cfa9a72d5d6434237ba63f6 Mon Sep 17 00:00:00 2001 From: Pluto Date: Sat, 8 Oct 2022 15:38:55 +0000 Subject: [PATCH 1/5] =?UTF-8?q?!123=20feat:=20=E6=8A=95=E7=A8=BF=E5=99=A8?= =?UTF-8?q?=20*=20feat:=20=E6=8A=95=E7=A8=BF=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/widget.cpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/widget.cpp b/src/widget.cpp index 8e7d2eb..c54c3db 100644 --- a/src/widget.cpp +++ b/src/widget.cpp @@ -193,6 +193,7 @@ void Widget::initUI() // 添加菜单项 QAction *actionSubmission = new QAction(tr("Submit App"), this); + QAction *actionSubmissionWithClient = new QAction(tr("Submit App with client(Recommanded)"), this); QAction *setting = new QAction(tr("Settings")); QAction *upgrade = new QAction(tr("APP Upgrade and Install Settings")); @@ -200,6 +201,7 @@ void Widget::initUI() menu->addAction(setting); menu->addAction(upgrade); menu->addAction(actionSubmission); + menu->addAction(actionSubmissionWithClient); titlebar->setMenu(menu); @@ -207,6 +209,23 @@ void Widget::initUI() connect(setting, &QAction::triggered, this, &Widget::opensetting); connect(upgrade, &QAction::triggered, this, [=]{QProcess::startDetached("x-terminal-emulator -e /opt/durapps/spark-store/bin/update-upgrade/ss-update-controler.sh");}); + // 投稿器 + connect(actionSubmissionWithClient, &QAction::triggered, this, [=] + { + QString submitterSpk = "spk://store/tools/spark-store-submitter"; + QFile actionSubmissionClientStatus("/opt/spark-store-submitter/bin/spark-store-submitter"); + if (actionSubmissionClientStatus.exists()) + { + qDebug() << "投稿器存在"; + QProcess::startDetached("/opt/spark-store-submitter/bin/spark-store-submitter"); + } + else{ + qDebug() << "投稿器不存在,跳转页面"; + openUrl(submitterSpk); + } + + }); + // 载入自定义字体 int loadedFontID = QFontDatabase::addApplicationFont(":/fonts/fonts/hksnzt.ttf"); QStringList loadedFontFamilies = QFontDatabase::applicationFontFamilies(loadedFontID); From 0534c39ee537e7559754d48bff542be097cbd67e Mon Sep 17 00:00:00 2001 From: shenmo Date: Sat, 8 Oct 2022 15:45:37 +0000 Subject: [PATCH 2/5] update debian/changelog. Signed-off-by: shenmo --- debian/changelog | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/debian/changelog b/debian/changelog index aa5a836..0201a78 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +spark-store (3.2.4~test2) stable; urgency=medium + + * 客户端集成投稿器入口和支持 + * 更新和安装设置入口转移到左列列表 + + + +-- shenmo Fri, 30 Jan 2022 00:00:00 +0800 + spark-store (3.2.4~test1) stable; urgency=medium * 客户端更新时不关闭免密码登录 From 330ae3eeb8baac92317a8409e83246e76b01ee2c Mon Sep 17 00:00:00 2001 From: shenmo Date: Sat, 8 Oct 2022 16:12:00 +0000 Subject: [PATCH 3/5] update README.zh.md. Signed-off-by: shenmo --- README.zh.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.zh.md b/README.zh.md index 66f300c..d14b34f 100644 --- a/README.zh.md +++ b/README.zh.md @@ -10,6 +10,8 @@ 希望看到这里的人也可以加入我们的队伍,开发或者投递应用都很欢迎,共同构建Linux应用生态 +在这里查看我们的Issue处理情况 https://gitee.com/deepin-community-store/spark-store/board + 如果有想要提交的软件包,请 [在这里投稿](https://upload.deepinos.org/index) From 66a4563b5161052d3a2b8cfe9bb197bdb29978f2 Mon Sep 17 00:00:00 2001 From: shenmo Date: Sat, 8 Oct 2022 16:12:59 +0000 Subject: [PATCH 4/5] update README.md. Signed-off-by: shenmo --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4fb8576..4021d78 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,10 @@ All packages will be shared in our repository for users to get freely. Distrobution supported:Deepin 20 ; Ubuntu 22.04 LTS / Ubuntu 20.04 LTS(May stop support in the future) ; UniontechOS Home 21 +You can track our Issue resoving progress here https://gitee.com/deepin-community-store/spark-store/board -I hope people who see here can also join our team,development help or submit applications are welcomed + +We hope people who see here can also join our team,development help or submit applications are welcomed If you want to submit an APP to share with others,Please [Click here](https://upload.deepinos.org/index) From e8ae0325e0838801db36253941a68a7c6a35a568 Mon Sep 17 00:00:00 2001 From: shenmo Date: Sat, 8 Oct 2022 16:13:33 +0000 Subject: [PATCH 5/5] update README.zh.md. Signed-off-by: shenmo --- README.zh.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.zh.md b/README.zh.md index d14b34f..6efbb91 100644 --- a/README.zh.md +++ b/README.zh.md @@ -10,7 +10,7 @@ 希望看到这里的人也可以加入我们的队伍,开发或者投递应用都很欢迎,共同构建Linux应用生态 -在这里查看我们的Issue处理情况 https://gitee.com/deepin-community-store/spark-store/board +在这里追踪我们的Issue处理情况 https://gitee.com/deepin-community-store/spark-store/board 如果有想要提交的软件包,请 [在这里投稿](https://upload.deepinos.org/index)