mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-15 21:32:05 +08:00
Compare commits
31 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6a83cc3d46 | |||
| ce5cbc1619 | |||
| ff7c73277b | |||
| e2c9e8d9c7 | |||
| 4b3a673b29 | |||
| 71212e39f3 | |||
|
|
33742f96de | ||
| ac0a38e670 | |||
| af7990e069 | |||
| f8dbca8f6f | |||
| a064b7b534 | |||
| 289f3020fe | |||
| 9cd974fed9 | |||
| 4d97a1e87b | |||
|
|
d326e8919f | ||
|
|
1828a60ff1 | ||
| 865322c85f | |||
| c22c76efc2 | |||
| 415dd1a63c | |||
|
|
7e105b59b0 | ||
| 84b3340687 | |||
| 2da576aeab | |||
| fb94448692 | |||
| 6ba7601efa | |||
| 4ea6c90e78 | |||
| f3633bb19d | |||
| 090b9a279f | |||
| 1bf8a57802 | |||
| 01f2610e0a | |||
| 3e3c3140d0 | |||
| 6ca024b6f3 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -51,3 +51,4 @@ debian/*.debhelper*
|
|||||||
debian/files
|
debian/files
|
||||||
debian/*.substvars
|
debian/*.substvars
|
||||||
debian/spark-store
|
debian/spark-store
|
||||||
|
|
||||||
|
|||||||
99
README.md
99
README.md
@@ -1,41 +1,58 @@
|
|||||||
# 星火应用商店
|
# Spark App Store
|
||||||
[](https://gitee.com/deepin-community-store/spark-store/stargazers) [](https://gitee.com/deepin-community-store/spark-store/members)
|
[](https://gitee.com/deepin-community-store/spark-store/stargazers) [](https://gitee.com/deepin-community-store/spark-store/members)
|
||||||
|
|
||||||
众所周知,国内的Linux应用比较少,wine应用难以获取,优质工具分散在民间各大论坛,无法形成合力,难以改善生态
|
Spark Store aims to collect Linux apps for the convieniece of Linux new comers
|
||||||
|
|
||||||
生态构建需要的不是某一方的单打独斗,而是人人行动起来,汇聚星火,产生燎原之势
|
The collecting process needs everyone's help
|
||||||
|
|
||||||
我们创建了这个应用商店,广泛收录大家需要的软件包,搜集优质小工具,主动适配wine应用,存放到储存库供大家获取
|
We set up this APP Store and collect APPs/tools that everyone need widely. Also we pack Windows apps with wine.
|
||||||
我们支持:Deepin 20 ; Ubuntu 22.04 LTS / Ubuntu 20.04 LTS(将会逐渐停止支持) ; UOS Home 21
|
|
||||||
|
All packages will be shared in our repository for users to get freely.
|
||||||
希望看到这里的人也可以加入我们的队伍,开发或者投递应用都很欢迎,共同构建Linux应用生态
|
|
||||||
|
Distrobution supported:Deepin 20 ; Ubuntu 22.04 LTS / Ubuntu 20.04 LTS(May stop support in the future) ; UniontechOS Home 21
|
||||||
如果有想要提交的软件包,请 [在这里投稿](https://upload.deepinos.org/index)
|
|
||||||
|
|
||||||
|
|
||||||
## 🙌 简单的开始
|
I hope people who see here can also join our team,development help or submit applications are welcomed
|
||||||
|
|
||||||
如果想安装 `星火应用商店` ,请打开右侧的 [Release] 页面,找到最新版本,并选择适用于当前系统的安装包下载。
|
If you want to submit an APP to share with others,Please [Click here](https://upload.deepinos.org/index)
|
||||||
|
|
||||||
---
|
|
||||||
#### 编译安装
|
## 🙌 A simple start
|
||||||
|
|
||||||
|
If you simply want to install the Spark Store,just enter the [Release] page, find the version you want and install.
|
||||||
Deepin V20/UOS 21/ Ubuntu 22.04 系统下, 安装依赖
|
|
||||||
|
If you are using Debian11/Ubuntu 20.04, you will need extra dependency package. Available [here](https://d.store.deepinos.org.cn/spark-store-dependencies-kylin.zip)
|
||||||
```shell
|
|
||||||
sudo apt install qt5-default debhelper pkg-config qtchooser libqt5core5a libqt5gui5 libqt5widgets5 libqt5network5 libqt5concurrent5 libdtkcore-dev libdtkgui-dev libdtkwidget-dev qttools5-private-dev libnotify-dev qtwebengine5-dev
|
---
|
||||||
|
#### Compile and developement
|
||||||
```
|
|
||||||
然后
|
|
||||||
```shell
|
For Deepin V20/UOS 21/ Debian 11
|
||||||
git clone https://gitee.com/deepin-community-store/spark-store.git
|
|
||||||
cd spark-store
|
```shell
|
||||||
dpkg-buildpackage
|
sudo apt install git qt5-default debhelper pkg-config qtchooser libqt5core5a libqt5gui5 libqt5widgets5 libqt5network5 libqt5concurrent5 libdtkcore-dev libdtkgui-dev libdtkwidget-dev qttools5-private-dev libnotify-dev qtwebengine5-dev
|
||||||
```
|
|
||||||
|
```
|
||||||
|
|
||||||
|
Ubuntu 22.04
|
||||||
## 🚀 协作
|
```shell
|
||||||
|
sudo apt install git qtbase5-dev debhelper pkg-config qtchooser libqt5core5a libqt5gui5 libqt5widgets5 libqt5network5 libqt5concurrent5 libdtkcore-dev libdtkgui-dev libdtkwidget-dev qttools5-private-dev libnotify-dev qtwebengine5-dev
|
||||||
非常感谢有兴趣的开发者或爱好者参与 `星火应用商店` 项目,分享你的见解与思路。
|
|
||||||
|
```
|
||||||
|
|
||||||
|
Then
|
||||||
|
|
||||||
|
```shell
|
||||||
|
git clone https://gitee.com/deepin-community-store/spark-store.git
|
||||||
|
cd spark-store
|
||||||
|
dpkg-buildpackage
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## 🚀 Coorperation
|
||||||
|
|
||||||
|
We use Gitee as our code hosting platform. Please click here to contact us.
|
||||||
|
|
||||||
|
https://gitee.com/deepin-community-store/spark-store
|
||||||
50
README.zh.md
Normal file
50
README.zh.md
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
# 星火应用商店
|
||||||
|
[](https://gitee.com/deepin-community-store/spark-store/stargazers) [](https://gitee.com/deepin-community-store/spark-store/members)
|
||||||
|
|
||||||
|
众所周知,国内的Linux应用比较少,wine应用难以获取,优质工具分散在民间各大论坛,无法形成合力,难以改善生态
|
||||||
|
|
||||||
|
生态构建需要的不是某一方的单打独斗,而是人人行动起来,汇聚星火,产生燎原之势
|
||||||
|
|
||||||
|
我们创建了这个应用商店,广泛收录大家需要的软件包,搜集优质小工具,主动适配wine应用,存放到储存库供大家获取
|
||||||
|
我们支持:Deepin 20 ; Ubuntu 22.04 LTS / Ubuntu 20.04 LTS(将会逐渐停止支持) ; UOS Home 21
|
||||||
|
|
||||||
|
希望看到这里的人也可以加入我们的队伍,开发或者投递应用都很欢迎,共同构建Linux应用生态
|
||||||
|
|
||||||
|
如果有想要提交的软件包,请 [在这里投稿](https://upload.deepinos.org/index)
|
||||||
|
|
||||||
|
|
||||||
|
## 🙌 简单的开始
|
||||||
|
|
||||||
|
如果想安装 `星火应用商店` ,请打开右侧的 [Release] 页面,找到最新版本,并选择适用于当前系统的安装包下载。
|
||||||
|
|
||||||
|
如果你在使用 `Debian 11/Ubuntu 20.04`,你需要额外下载[依赖补充包](https://d.store.deepinos.org.cn/spark-store-dependencies-kylin.zip)
|
||||||
|
|
||||||
|
---
|
||||||
|
#### 编译安装
|
||||||
|
|
||||||
|
|
||||||
|
Deepin V20/UOS 21 系统下, 安装依赖
|
||||||
|
|
||||||
|
```shell
|
||||||
|
sudo apt install git qt5-default debhelper pkg-config qtchooser libqt5core5a libqt5gui5 libqt5widgets5 libqt5network5 libqt5concurrent5 libdtkcore-dev libdtkgui-dev libdtkwidget-dev qttools5-private-dev libnotify-dev qtwebengine5-dev
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
Ubuntu 22.04 系统下, 安装依赖
|
||||||
|
```shell
|
||||||
|
sudo apt install git qtbase5-dev debhelper pkg-config qtchooser libqt5core5a libqt5gui5 libqt5widgets5 libqt5network5 libqt5concurrent5 libdtkcore-dev libdtkgui-dev libdtkwidget-dev qttools5-private-dev libnotify-dev qtwebengine5-dev
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
然后
|
||||||
|
```shell
|
||||||
|
git clone https://gitee.com/deepin-community-store/spark-store.git
|
||||||
|
cd spark-store
|
||||||
|
dpkg-buildpackage
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## 🚀 协作
|
||||||
|
|
||||||
|
非常感谢有兴趣的开发者或爱好者参与 `星火应用商店` 项目,分享你的见解与思路。
|
||||||
31
debian/changelog
vendored
31
debian/changelog
vendored
@@ -1,3 +1,34 @@
|
|||||||
|
spark-store (3.1.3) stable; urgency=medium
|
||||||
|
|
||||||
|
* Now uses aria2 to download softwares form all mirrors
|
||||||
|
* 新增:ssinstall现在会在没有apt-fast的时候自动安装
|
||||||
|
* 新增:ss-apt-fast现在会在没有apt-fast的时候自动安装
|
||||||
|
* 修改:删除ssinstall中无用的 || dpkg -P $1
|
||||||
|
* 新增:ss-apt-fast会先下载云上的conf以确保mirror是最新的
|
||||||
|
* 修复:去除wget指令
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
spark-store (3.1.2) stable; urgency=medium
|
||||||
|
|
||||||
|
* Now let apt-fast method support all mirrors
|
||||||
|
* Now will download dependencies and upgrade with all mirrors
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Mon, 17 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
spark-store (3.1.1) stable; urgency=medium
|
||||||
|
|
||||||
|
* Now will delete the link of policy file after uninstall or upgrade
|
||||||
|
* Now ss-update-controler will create symbol link instead of hard link
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Mon, 17 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
spark-store (3.1.0) stable; urgency=medium
|
spark-store (3.1.0) stable; urgency=medium
|
||||||
|
|
||||||
* Add pkexec policy: ssinstall. Only will be enabled after permitted.
|
* Add pkexec policy: ssinstall. Only will be enabled after permitted.
|
||||||
|
|||||||
4
debian/control
vendored
4
debian/control
vendored
@@ -34,7 +34,9 @@ Depends:${shlibs:Depends}, ${misc:Depends},
|
|||||||
libdtkwidget5,
|
libdtkwidget5,
|
||||||
libnotify4,
|
libnotify4,
|
||||||
curl,
|
curl,
|
||||||
dde-qt5integration
|
dde-qt5integration,
|
||||||
|
bubblewrap,
|
||||||
|
aria2
|
||||||
Description: Spark Store
|
Description: Spark Store
|
||||||
A community powered app store, based on DTK.
|
A community powered app store, based on DTK.
|
||||||
Recommends: apt-fast
|
Recommends: apt-fast
|
||||||
|
|||||||
4
debian/rules
vendored
4
debian/rules
vendored
@@ -17,11 +17,12 @@ override_dh_auto_clean:
|
|||||||
|
|
||||||
override_dh_auto_configure:
|
override_dh_auto_configure:
|
||||||
mkdir -p $(CURDIR)/build
|
mkdir -p $(CURDIR)/build
|
||||||
|
|
||||||
dh_auto_configure MAKEFLAGS=-j$(JOBS) -- spark-store-project.pro \
|
dh_auto_configure MAKEFLAGS=-j$(JOBS) -- spark-store-project.pro \
|
||||||
-spec linux-g++ CONFIG+=qtquickcompiler \
|
-spec linux-g++ CONFIG+=qtquickcompiler \
|
||||||
-o $(CURDIR)/build/
|
-o $(CURDIR)/build/
|
||||||
|
|
||||||
|
|
||||||
override_dh_auto_build:
|
override_dh_auto_build:
|
||||||
make -C $(CURDIR)/build -j$(JOBS)
|
make -C $(CURDIR)/build -j$(JOBS)
|
||||||
|
|
||||||
@@ -29,6 +30,7 @@ override_dh_auto_install:
|
|||||||
make -C $(CURDIR)/build install \
|
make -C $(CURDIR)/build install \
|
||||||
INSTALL_ROOT=$(CURDIR)/debian/spark-store
|
INSTALL_ROOT=$(CURDIR)/debian/spark-store
|
||||||
|
|
||||||
|
|
||||||
# Ignore the dpkg-shlibdeps: warning (it uses none of the library's symbols)
|
# Ignore the dpkg-shlibdeps: warning (it uses none of the library's symbols)
|
||||||
# Qt Mutidedia lib will ref to network libraray.
|
# Qt Mutidedia lib will ref to network libraray.
|
||||||
override_dh_shlibdeps:
|
override_dh_shlibdeps:
|
||||||
|
|||||||
1
debian/spark-store.postinst
vendored
1
debian/spark-store.postinst
vendored
@@ -11,6 +11,7 @@ case "$1" in
|
|||||||
ln -s -f /opt/durapps/spark-store/bin/spark-store /usr/local/bin/spark-store
|
ln -s -f /opt/durapps/spark-store/bin/spark-store /usr/local/bin/spark-store
|
||||||
ln -s -f /opt/durapps/spark-store/bin/ssinstall /usr/local/bin/ssinstall
|
ln -s -f /opt/durapps/spark-store/bin/ssinstall /usr/local/bin/ssinstall
|
||||||
ln -s -f /opt/durapps/spark-store/bin/spark-dstore-patch /usr/local/bin/spark-dstore-patch
|
ln -s -f /opt/durapps/spark-store/bin/spark-dstore-patch /usr/local/bin/spark-dstore-patch
|
||||||
|
ln -s -f /opt/durapps/spark-store/bin/ss-apt-fast /usr/local/bin/ss-apt-fast
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
10
debian/spark-store.prerm
vendored
10
debian/spark-store.prerm
vendored
@@ -6,6 +6,7 @@ rm /usr/local/bin/ssinstall
|
|||||||
rm /usr/local/bin/spark-dstore-patch
|
rm /usr/local/bin/spark-dstore-patch
|
||||||
rm /usr/local/bin/ussinstall
|
rm /usr/local/bin/ussinstall
|
||||||
rm /usr/local/bin/ussremove
|
rm /usr/local/bin/ussremove
|
||||||
|
rm /usr/local/bin/ss-apt-fast
|
||||||
|
|
||||||
# Remove residual symbol links to stop upgrade detect if exist
|
# Remove residual symbol links to stop upgrade detect if exist
|
||||||
if [ -f /etc/xdg/autostart/spark-update-notifier.desktop ];then
|
if [ -f /etc/xdg/autostart/spark-update-notifier.desktop ];then
|
||||||
@@ -20,9 +21,14 @@ systemctl disable spark-update-notifier
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Clean the service place file
|
# Clean the update-number service place file if exist
|
||||||
if [ -d "/tmp/spark-store-updatenum/" ] ; then
|
if [ -d "/tmp/spark-store-updatenum/" ] ; then
|
||||||
rm -rf /tmp/spark-store-updatenum/s
|
rm -rf /tmp/spark-store-updatenum/
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Clean the auto install polkit file if exist
|
||||||
|
if [ -f "/usr/share/polkit-1/actions/store.spark-app.ssinstall.policy" ] ; then
|
||||||
|
rm /usr/share/polkit-1/actions/store.spark-app.ssinstall.policy
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Remove gpg key file
|
# Remove gpg key file
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ polkit-1.files +=pkg/usr/share/polkit-1/actions/store.spark-app.ssinstall.policy
|
|||||||
polkit-1.path = /usr/share/polkit-1/actions/
|
polkit-1.path = /usr/share/polkit-1/actions/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
icon.files += pkg/usr/share/icons/hicolor/scalable/apps/spark-store.svg
|
icon.files += pkg/usr/share/icons/hicolor/scalable/apps/spark-store.svg
|
||||||
icon.path = /usr/share/icons/hicolor/scalable/apps
|
icon.path = /usr/share/icons/hicolor/scalable/apps
|
||||||
|
|
||||||
|
|||||||
@@ -92,19 +92,6 @@ QString downloadlist::getName()
|
|||||||
|
|
||||||
void downloadlist::readyInstall()
|
void downloadlist::readyInstall()
|
||||||
{
|
{
|
||||||
if(ui->progressBar->value() != ui->progressBar->maximum() && !close)
|
|
||||||
{
|
|
||||||
ui->progressBar->hide();
|
|
||||||
ui->pushButton_install->show();
|
|
||||||
ui->pushButton_2->hide();
|
|
||||||
Widget::sendNotification(tr("Failed to download %1").arg(ui->label->text()), 5000,
|
|
||||||
"/tmp/spark-store/icon_" + QString::number(num).toUtf8() + ".png");
|
|
||||||
ui->label_2->setText(tr("Download Failed,Check Your Connection"));
|
|
||||||
ui->pushButton_install->setEnabled(false);
|
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if(!close)
|
if(!close)
|
||||||
{
|
{
|
||||||
ui->progressBar->hide();
|
ui->progressBar->hide();
|
||||||
|
|||||||
@@ -1,93 +1,15 @@
|
|||||||
#include "downloadworker.h"
|
#include "downloadworker.h"
|
||||||
|
|
||||||
#include <QEventLoop>
|
#include <QEventLoop>
|
||||||
#include <QNetworkAccessManager>
|
#include <QNetworkAccessManager>
|
||||||
#include <QNetworkRequest>
|
#include <QNetworkRequest>
|
||||||
#include <QNetworkReply>
|
#include <QNetworkReply>
|
||||||
#include <QThread>
|
#include <QThread>
|
||||||
|
#include <QProcess>
|
||||||
#include <QRegularExpression>
|
#include <QRegularExpression>
|
||||||
#include <QFileInfo>
|
#include <QFileInfo>
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
|
#include <QElapsedTimer>
|
||||||
DownloadWorker::DownloadWorker(QObject *parent)
|
#include <QtConcurrent>
|
||||||
{
|
|
||||||
Q_UNUSED(parent)
|
|
||||||
}
|
|
||||||
|
|
||||||
void DownloadWorker::setIdentifier(int identifier)
|
|
||||||
{
|
|
||||||
this->identifier = identifier;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DownloadWorker::setParamter(const QString &url, QPair<qint64, qint64> range, QFile *file)
|
|
||||||
{
|
|
||||||
this->url = url;
|
|
||||||
this->startPos = range.first;
|
|
||||||
this->endPos = range.second;
|
|
||||||
this->file = file;
|
|
||||||
}
|
|
||||||
|
|
||||||
qint64 DownloadWorker::getReceivedPos()
|
|
||||||
{
|
|
||||||
return receivedPos;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DownloadWorker::doWork()
|
|
||||||
{
|
|
||||||
mgr = new QNetworkAccessManager(this);
|
|
||||||
QNetworkRequest request;
|
|
||||||
request.setUrl(url);
|
|
||||||
request.setAttribute(QNetworkRequest::FollowRedirectsAttribute, true);
|
|
||||||
request.setRawHeader("Range", QString("bytes=%1-%2").arg(startPos).arg(endPos).toLocal8Bit());
|
|
||||||
reply = mgr->get(request);
|
|
||||||
qDebug() << "开始下载数据:" << QString(" %1~%2 -> writePos Start %3").arg(startPos).arg(endPos).arg(receivedPos);
|
|
||||||
|
|
||||||
connect(reply, static_cast<void(QNetworkReply::*)(QNetworkReply::NetworkError) > (&QNetworkReply::error),
|
|
||||||
[this](QNetworkReply::NetworkError error)
|
|
||||||
{
|
|
||||||
if(error != QNetworkReply::NoError)
|
|
||||||
{
|
|
||||||
qDebug() << "出错了:" << reply->errorString();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
connect(reply, &QNetworkReply::finished, mgr, &QNetworkAccessManager::deleteLater);
|
|
||||||
connect(reply, &QNetworkReply::readyRead, this, &DownloadWorker::dataReady);
|
|
||||||
connect(reply, &QNetworkReply::finished, this, &DownloadWorker::slotFinish);
|
|
||||||
connect(reply, &QNetworkReply::downloadProgress, this, &DownloadWorker::handleProcess);
|
|
||||||
// connect(reply, &QNetworkReply::finished, reply, &QNetworkReply::deleteLater);
|
|
||||||
connect(reply, &QNetworkReply::finished, this, &DownloadWorker::doStop);
|
|
||||||
}
|
|
||||||
|
|
||||||
void DownloadWorker::doStop()
|
|
||||||
{
|
|
||||||
if (reply) {
|
|
||||||
reply->disconnect();
|
|
||||||
reply->aboutToClose();
|
|
||||||
reply->deleteLater();
|
|
||||||
reply = nullptr;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void DownloadWorker::dataReady()
|
|
||||||
{
|
|
||||||
QByteArray data = reply->readAll();
|
|
||||||
file->seek(startPos + receivedPos);
|
|
||||||
file->write(data);
|
|
||||||
receivedPos += data.size();
|
|
||||||
}
|
|
||||||
|
|
||||||
void DownloadWorker::slotFinish()
|
|
||||||
{
|
|
||||||
file->flush();
|
|
||||||
qDebug() << "数据块下载完毕:" << QString(" %1~%2 -> writePos Start %3").arg(startPos).arg(endPos).arg(receivedPos);
|
|
||||||
emit workFinished();
|
|
||||||
}
|
|
||||||
|
|
||||||
void DownloadWorker::handleProcess(qint64, qint64)
|
|
||||||
{
|
|
||||||
emit this->downloadProcess();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
DownloadController::DownloadController(QObject *parent)
|
DownloadController::DownloadController(QObject *parent)
|
||||||
{
|
{
|
||||||
@@ -97,22 +19,7 @@ DownloadController::DownloadController(QObject *parent)
|
|||||||
domains.clear();
|
domains.clear();
|
||||||
domains.append("d.store.deepinos.org.cn");
|
domains.append("d.store.deepinos.org.cn");
|
||||||
|
|
||||||
QFile serverList(QDir::homePath().toUtf8() + "/.config/spark-store/server.list");
|
|
||||||
if(serverList.open(QFile::ReadOnly))
|
|
||||||
{
|
|
||||||
QStringList list = QString(serverList.readAll()).trimmed().split("\n");
|
|
||||||
qDebug() << list << list.size();
|
|
||||||
|
|
||||||
for (int i = 0; i < list.size(); i++) {
|
|
||||||
if (list.at(i).contains("镜像源 Download only") && i + 1 < list.size()) {
|
|
||||||
for (int j = i + 1; j < list.size(); j++) {
|
|
||||||
domains.append(list.at(j));
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
qDebug() << domains.size();
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
domains = {
|
domains = {
|
||||||
@@ -126,38 +33,41 @@ DownloadController::DownloadController(QObject *parent)
|
|||||||
this->threadNum = domains.size();
|
this->threadNum = domains.size();
|
||||||
}
|
}
|
||||||
|
|
||||||
DownloadController::~DownloadController()
|
|
||||||
{
|
|
||||||
if(workers.size() > 0)
|
|
||||||
{
|
|
||||||
for(int i = 0; i < workers.size(); i++)
|
|
||||||
{
|
|
||||||
workers.at(i)->doStop();
|
|
||||||
workers.at(i)->disconnect();
|
|
||||||
workers.at(i)->deleteLater();
|
|
||||||
}
|
|
||||||
workers.clear();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void DownloadController::setFilename(QString filename)
|
void DownloadController::setFilename(QString filename)
|
||||||
{
|
{
|
||||||
this->filename = filename;
|
this->filename = filename;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DownloadController::setThreadNum(int threadNum)
|
|
||||||
|
void timeSleeper(int time)
|
||||||
{
|
{
|
||||||
this->threadNum = threadNum;
|
QElapsedTimer t1;
|
||||||
|
t1.start();
|
||||||
|
while(t1.elapsed()<time);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//int checkPID(QString pidCommand){
|
||||||
|
// system(pidCommand.toUtf8());
|
||||||
|
// timeSleeper(10);
|
||||||
|
// QFile downloadStatus("/tmp/spark-store/downloadStatus.txt");
|
||||||
|
// downloadStatus.open(QFile::ReadOnly);
|
||||||
|
// auto temp = QString(downloadStatus.readAll()).toUtf8();
|
||||||
|
// downloadStatus.close();
|
||||||
|
// if (temp!=""){
|
||||||
|
// return 1;
|
||||||
|
// }
|
||||||
|
// return 0;
|
||||||
|
//}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 开始下载
|
* @brief 开始下载
|
||||||
*/
|
*/
|
||||||
void DownloadController::startDownload(const QString &url)
|
void DownloadController::startDownload(const QString &url)
|
||||||
{
|
{
|
||||||
finish = 0;
|
// 获取下载任务信息
|
||||||
|
|
||||||
// 下载任务等分,计算每个线程的下载数据
|
|
||||||
fileSize = getFileSize(url);
|
fileSize = getFileSize(url);
|
||||||
if(fileSize == 0)
|
if(fileSize == 0)
|
||||||
{
|
{
|
||||||
@@ -165,55 +75,120 @@ void DownloadController::startDownload(const QString &url)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
qint64 segmentSize = fileSize / threadNum;
|
|
||||||
ranges.resize(threadNum);
|
|
||||||
QVector<qint64> receivedBytes;
|
|
||||||
receivedBytes.resize(threadNum);
|
|
||||||
for(int i = 0; i < threadNum; i++)
|
|
||||||
{
|
|
||||||
ranges[i].first = i * segmentSize;
|
|
||||||
ranges[i].second = i * segmentSize + segmentSize - 1;
|
|
||||||
receivedBytes[i] = 0;
|
|
||||||
}
|
|
||||||
ranges[threadNum - 1].second = fileSize; // 余数部分加入最后一个
|
|
||||||
|
|
||||||
// 打开文件
|
QtConcurrent::run([=](){
|
||||||
QDir tmpdir("/tmp/spark-store");
|
QFile serverList(QDir::homePath().toUtf8() + "/.config/spark-store/server.list");
|
||||||
file = new QFile;
|
if(serverList.open(QFile::ReadOnly))
|
||||||
file->setFileName(tmpdir.absoluteFilePath(filename));
|
{
|
||||||
|
QStringList list = QString(serverList.readAll()).trimmed().split("\n");
|
||||||
|
qDebug() << list << list.size();
|
||||||
|
|
||||||
if(file->exists())
|
for (int i = 0; i < list.size(); i++) {
|
||||||
{
|
if (list.at(i).contains("镜像源 Download only") && i + 1 < list.size()) {
|
||||||
file->remove();
|
for (int j = i + 1; j < list.size(); j++) {
|
||||||
}
|
system("curl -I -s --connect-timeout 5 https://" + list.at(j).toUtf8()
|
||||||
|
+ "/dcs-repo.gpg-key.asc -w %{http_code} |tail -n1 > /tmp/spark-store/cdnStatus.txt");
|
||||||
|
QFile cdnStatus("/tmp/spark-store/cdnStatus.txt");
|
||||||
|
if(cdnStatus.open(QFile::ReadOnly) && QString(cdnStatus.readAll()).toUtf8()=="200"){
|
||||||
|
qDebug() << list.at(j);
|
||||||
|
domains.append(list.at(j));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
qDebug() << domains << domains.size();
|
||||||
|
QDir tmpdir("/tmp/spark-store/");
|
||||||
|
QString aria2Command = "-d";
|
||||||
|
QString aria2Urls = "";
|
||||||
|
QString aria2Verbose = "--summary-interval=1";
|
||||||
|
QString aria2Threads = "-s " + QString::number(domains.size());
|
||||||
|
QStringList command;
|
||||||
|
QString downloadDir = "/tmp/spark-store/";
|
||||||
|
for(int i = 0; i < domains.size(); i ++)
|
||||||
|
{
|
||||||
|
command.append(replaceDomain(url, domains.at(i)).toUtf8());
|
||||||
|
aria2Urls += replaceDomain(url, domains.at(i));
|
||||||
|
aria2Urls += " ";
|
||||||
|
}
|
||||||
|
|
||||||
if(!file->open(QIODevice::WriteOnly))
|
qint64 downloadSizeRecord = 0;
|
||||||
{
|
QString speedInfo = "";
|
||||||
delete file;
|
QString percentInfo = "";
|
||||||
file = nullptr;
|
command.append(aria2Command.toUtf8());
|
||||||
emit errorOccur(file->errorString());
|
command.append(downloadDir.toUtf8());
|
||||||
return;
|
command.append(aria2Verbose.toUtf8());
|
||||||
}
|
command.append(aria2Threads.toUtf8());
|
||||||
|
qDebug() << command;
|
||||||
|
auto cmd = new QProcess();
|
||||||
|
cmd->setProcessChannelMode(QProcess::MergedChannels);
|
||||||
|
cmd->setProgram("aria2c");
|
||||||
|
cmd->setArguments(command);
|
||||||
|
cmd->start();
|
||||||
|
cmd->waitForStarted(); //等待启动完成
|
||||||
|
|
||||||
file->resize(fileSize);
|
QObject::connect(cmd,&QProcess::readyReadStandardOutput,
|
||||||
|
[&](){
|
||||||
|
//通过读取输出计算下载速度
|
||||||
|
QFileInfo info(tmpdir.absoluteFilePath(filename));
|
||||||
|
QString message = cmd->readAllStandardOutput().data();
|
||||||
|
message = message.replace(" ","").replace("\n","").replace("-","");
|
||||||
|
message = message.replace("*","").replace("=","");
|
||||||
|
QStringList list;
|
||||||
|
qint64 downloadSize = 0;
|
||||||
|
int downloadSizePlace1 = message.indexOf("(");
|
||||||
|
int downloadSizePlace2 = message.indexOf(")");
|
||||||
|
int speedPlace1 = message.indexOf("DL:");
|
||||||
|
int speedPlace2 = message.indexOf("ETA");
|
||||||
|
if (downloadSizePlace1 != -1 && downloadSizePlace2 != -1){
|
||||||
|
percentInfo = message.mid(downloadSizePlace1+1, downloadSizePlace2-downloadSizePlace1-1).replace("%","");
|
||||||
|
if (percentInfo != "s"){
|
||||||
|
int percentInfoNumber = percentInfo.toUInt();
|
||||||
|
|
||||||
|
downloadSize = (percentInfoNumber+1) * fileSize / 100;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (speedPlace1 != -1 && speedPlace2 != -1){
|
||||||
|
speedInfo = message.mid(speedPlace1+3, speedPlace2-speedPlace1-3);
|
||||||
|
speedInfo += "/s";
|
||||||
|
|
||||||
// 创建下载线程
|
}
|
||||||
workers.clear();
|
qDebug() << percentInfo << speedInfo;
|
||||||
for(int i = 0; i < ranges.size(); i++)
|
if(downloadSize >= downloadSizeRecord)
|
||||||
{
|
{
|
||||||
qDebug() << QString("第%1个下载请求:%2-%3").arg(i).arg(ranges.at(i).first).arg(ranges.at(i).second);
|
downloadSizeRecord = downloadSize;
|
||||||
auto worker = new DownloadWorker(this);
|
}
|
||||||
auto range = ranges.at(i);
|
if(percentInfo=="OK"){
|
||||||
QString chunkUrl = replaceDomain(url, domains.at(i));
|
finished = true;
|
||||||
worker->setIdentifier(i);
|
emit downloadProcess("", fileSize, fileSize);
|
||||||
worker->setParamter(chunkUrl, range, file);
|
qDebug() <<"finished:"<< finished;
|
||||||
workers.append(worker);
|
}
|
||||||
|
else{
|
||||||
|
emit downloadProcess(speedInfo, downloadSizeRecord, fileSize);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
connect(worker, &DownloadWorker::downloadProcess, this, &DownloadController::handleProcess);
|
|
||||||
connect(worker, &DownloadWorker::workFinished, this, &DownloadController::chunkDownloadFinish);
|
|
||||||
|
|
||||||
worker->doWork();
|
});
|
||||||
}
|
QObject::connect(cmd,&QProcess::readyReadStandardError,
|
||||||
|
[&](){
|
||||||
|
emit errorOccur(cmd->readAllStandardError().data());
|
||||||
|
return;
|
||||||
|
});
|
||||||
|
|
||||||
|
auto pidNumber = cmd->processId();
|
||||||
|
this->pidNumber = pidNumber;
|
||||||
|
int statusSum = 0;
|
||||||
|
while(statusSum > -20)
|
||||||
|
{
|
||||||
|
auto status = cmd->waitForFinished() - 1;
|
||||||
|
statusSum += status;
|
||||||
|
}
|
||||||
|
emit downloadFinished();
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -221,44 +196,14 @@ void DownloadController::startDownload(const QString &url)
|
|||||||
*/
|
*/
|
||||||
void DownloadController::stopDownload()
|
void DownloadController::stopDownload()
|
||||||
{
|
{
|
||||||
for(int i = 0; i < workers.size(); i++)
|
// 实现下载进程退出
|
||||||
{
|
QString killCmd = QString("kill -9 %1").arg(pidNumber);
|
||||||
workers.at(i)->doStop();
|
system(killCmd.toUtf8());
|
||||||
workers.at(i)->disconnect();
|
qDebug()<<"kill aria2!";
|
||||||
workers.at(i)->deleteLater();
|
|
||||||
}
|
|
||||||
workers.clear();
|
|
||||||
qDebug() << "文件下载路径:" << QFileInfo(file->fileName()).absoluteFilePath();
|
|
||||||
|
|
||||||
file->flush();
|
|
||||||
file->close();
|
|
||||||
delete file;
|
|
||||||
file = nullptr;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void DownloadController::handleProcess()
|
|
||||||
{
|
|
||||||
qint64 bytesReceived = 0;
|
|
||||||
for(int i = 0; i < workers.size(); i++)
|
|
||||||
{
|
|
||||||
bytesReceived += workers.at(i)->getReceivedPos();
|
|
||||||
}
|
|
||||||
qDebug() << QString("下载进度 %1-%2").arg(bytesReceived).arg(fileSize);
|
|
||||||
emit downloadProcess(bytesReceived, fileSize);
|
|
||||||
}
|
|
||||||
|
|
||||||
void DownloadController::chunkDownloadFinish()
|
|
||||||
{
|
|
||||||
finish++;
|
|
||||||
qDebug() << QString("已下载了%1块,共%2块!!!").arg(finish).arg(threadNum);
|
|
||||||
if(finish == threadNum)
|
|
||||||
{
|
|
||||||
stopDownload();
|
|
||||||
emit downloadFinished();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
qint64 DownloadController::getFileSize(const QString& url)
|
qint64 DownloadController::getFileSize(const QString& url)
|
||||||
{
|
{
|
||||||
QEventLoop event;
|
QEventLoop event;
|
||||||
|
|||||||
@@ -6,52 +6,14 @@
|
|||||||
#include <QFile>
|
#include <QFile>
|
||||||
#include <QNetworkReply>
|
#include <QNetworkReply>
|
||||||
|
|
||||||
class DownloadWorker : public QObject
|
|
||||||
{
|
|
||||||
Q_OBJECT
|
|
||||||
|
|
||||||
public:
|
|
||||||
explicit DownloadWorker(QObject *parent = nullptr);
|
|
||||||
|
|
||||||
void setIdentifier(int identifier);
|
|
||||||
void setParamter(const QString &url, QPair<qint64, qint64> range, QFile *flle);
|
|
||||||
qint64 getReceivedPos();
|
|
||||||
|
|
||||||
public slots:
|
|
||||||
void doWork();
|
|
||||||
void doStop();
|
|
||||||
void dataReady();
|
|
||||||
void slotFinish();
|
|
||||||
void handleProcess(qint64, qint64);
|
|
||||||
|
|
||||||
private:
|
|
||||||
int identifier;
|
|
||||||
QString url;
|
|
||||||
qint64 startPos;
|
|
||||||
qint64 endPos;
|
|
||||||
qint64 receivedPos = 0;
|
|
||||||
QNetworkReply *reply;
|
|
||||||
QNetworkAccessManager *mgr;
|
|
||||||
QFile *file;
|
|
||||||
|
|
||||||
signals:
|
|
||||||
void resultReady(int identifier, QByteArray data);
|
|
||||||
void testSignals();
|
|
||||||
void workFinished();
|
|
||||||
void downloadProcess();
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
class DownloadController : public QObject
|
class DownloadController : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit DownloadController(QObject *parent = nullptr);
|
explicit DownloadController(QObject *parent = nullptr);
|
||||||
~DownloadController();
|
|
||||||
|
|
||||||
void setFilename(QString filename);
|
void setFilename(QString filename);
|
||||||
void setThreadNum(int threadNum);
|
|
||||||
void startDownload(const QString &url);
|
void startDownload(const QString &url);
|
||||||
void stopDownload();
|
void stopDownload();
|
||||||
qint64 getFileSize(const QString& url);
|
qint64 getFileSize(const QString& url);
|
||||||
@@ -59,21 +21,19 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
int threadNum;
|
int threadNum;
|
||||||
|
int pidNumber;
|
||||||
QString filename;
|
QString filename;
|
||||||
qint64 fileSize;
|
qint64 fileSize;
|
||||||
QVector<QPair<qint64, qint64>> ranges;
|
QVector<QPair<qint64, qint64>> ranges;
|
||||||
QFile *file;
|
QFile *file;
|
||||||
QList<DownloadWorker*> workers;
|
bool finished = false;
|
||||||
int finish = 0;
|
|
||||||
QVector<QString> domains;
|
QVector<QString> domains;
|
||||||
|
|
||||||
public slots:
|
|
||||||
void handleProcess();
|
|
||||||
void chunkDownloadFinish();
|
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void errorOccur(const QString& msg);
|
void errorOccur(const QString& msg);
|
||||||
void downloadProcess(qint64, qint64);
|
void downloadProcess(QString, qint64, qint64);
|
||||||
void downloadFinished();
|
void downloadFinished();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ int main(int argc, char *argv[])
|
|||||||
DAboutDialog dialog;
|
DAboutDialog dialog;
|
||||||
a.setAboutDialog(&dialog);
|
a.setAboutDialog(&dialog);
|
||||||
dialog.setLicense(QObject::tr("We publish this program under GPL V3"));
|
dialog.setLicense(QObject::tr("We publish this program under GPL V3"));
|
||||||
dialog.setVersion(DApplication::buildVersion("Version 3.1"));
|
dialog.setVersion(DApplication::buildVersion("Version 3.1.3"));
|
||||||
dialog.setProductIcon(QIcon::fromTheme("spark-store")); // 设置Logo
|
dialog.setProductIcon(QIcon::fromTheme("spark-store")); // 设置Logo
|
||||||
dialog.setProductName(QLabel::tr("Spark Store"));
|
dialog.setProductName(QLabel::tr("Spark Store"));
|
||||||
dialog.setDescription(
|
dialog.setDescription(
|
||||||
@@ -51,7 +51,7 @@ int main(int argc, char *argv[])
|
|||||||
a.setOrganizationName("spark-union");
|
a.setOrganizationName("spark-union");
|
||||||
a.setOrganizationDomain("https://www.deepinos.org/");
|
a.setOrganizationDomain("https://www.deepinos.org/");
|
||||||
a.setApplicationName("Spark Store"); //不需要翻译,否则 ~/.local/share/ 下文件夹名称也被翻译为中文
|
a.setApplicationName("Spark Store"); //不需要翻译,否则 ~/.local/share/ 下文件夹名称也被翻译为中文
|
||||||
a.setApplicationVersion(DApplication::buildVersion("3.1"));
|
a.setApplicationVersion(DApplication::buildVersion("3.2"));
|
||||||
a.setApplicationAcknowledgementPage("https://gitee.com/deepin-community-store/spark-store");
|
a.setApplicationAcknowledgementPage("https://gitee.com/deepin-community-store/spark-store");
|
||||||
a.setApplicationDescription(
|
a.setApplicationDescription(
|
||||||
QObject::tr(
|
QObject::tr(
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ Widget::Widget(DBlurEffectWidget *parent) :
|
|||||||
manager = new QNetworkAccessManager(this); // 下载管理
|
manager = new QNetworkAccessManager(this); // 下载管理
|
||||||
|
|
||||||
httpClient = new AeaQt::HttpClient;
|
httpClient = new AeaQt::HttpClient;
|
||||||
downloadController = new DownloadController(this); // 并发下载
|
|
||||||
|
|
||||||
connect(ui->menu_main, &QPushButton::clicked, this, [=](){Widget::chooseLeftMenu(0);});
|
connect(ui->menu_main, &QPushButton::clicked, this, [=](){Widget::chooseLeftMenu(0);});
|
||||||
connect(ui->menu_network, &QPushButton::clicked, this, [=](){Widget::chooseLeftMenu(1);});
|
connect(ui->menu_network, &QPushButton::clicked, this, [=](){Widget::chooseLeftMenu(1);});
|
||||||
@@ -108,10 +108,9 @@ Widget::Widget(DBlurEffectWidget *parent) :
|
|||||||
download_speed.start();
|
download_speed.start();
|
||||||
connect(&download_speed,&QTimer::timeout,[=]()
|
connect(&download_speed,&QTimer::timeout,[=]()
|
||||||
{
|
{
|
||||||
if(isdownload)
|
if(isdownload && theSpeed == "")
|
||||||
{
|
{
|
||||||
size1 = download_size;
|
size1 = download_size;
|
||||||
QString theSpeed;
|
|
||||||
double bspeed;
|
double bspeed;
|
||||||
bspeed = size1 - size2;
|
bspeed = size1 - size2;
|
||||||
if(bspeed < 1024)
|
if(bspeed < 1024)
|
||||||
@@ -129,10 +128,12 @@ Widget::Widget(DBlurEffectWidget *parent) :
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
theSpeed = QString::number(0.01 * int(100 * (bspeed / (1024 * 1024 * 1024)))) + "GB/s";
|
theSpeed = QString::number(0.01 * int(100 * (bspeed / (1024 * 1024 * 1024)))) + "GB/s";
|
||||||
}
|
}
|
||||||
download_list[nowDownload - 1].setSpeed(theSpeed);
|
|
||||||
size2 = download_size;
|
size2 = download_size;
|
||||||
}
|
}
|
||||||
|
if(isdownload){
|
||||||
|
download_list[nowDownload - 1].setSpeed(theSpeed);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
notify_init(tr("Spark\\ Store").toLocal8Bit());
|
notify_init(tr("Spark\\ Store").toLocal8Bit());
|
||||||
@@ -667,6 +668,7 @@ void Widget::startRequest(QUrl url, QString fileName)
|
|||||||
isdownload = true;
|
isdownload = true;
|
||||||
download_list[allDownload - 1].free = false;
|
download_list[allDownload - 1].free = false;
|
||||||
|
|
||||||
|
downloadController = new DownloadController(this); // 并发下载,在点击下载按钮的时候才会初始化
|
||||||
connect(downloadController, &DownloadController::downloadProcess, this, &Widget::updateDataReadProgress);
|
connect(downloadController, &DownloadController::downloadProcess, this, &Widget::updateDataReadProgress);
|
||||||
connect(downloadController, &DownloadController::downloadFinished, this, &Widget::httpFinished);
|
connect(downloadController, &DownloadController::downloadFinished, this, &Widget::httpFinished);
|
||||||
connect(downloadController, &DownloadController::errorOccur, this, [=](QString msg){this->sendNotification(msg);});
|
connect(downloadController, &DownloadController::errorOccur, this, [=](QString msg){this->sendNotification(msg);});
|
||||||
@@ -787,15 +789,15 @@ void Widget::httpReadyRead()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Widget::updateDataReadProgress(qint64 bytesRead, qint64 totalBytes)
|
void Widget::updateDataReadProgress(QString speedInfo, qint64 bytesRead, qint64 totalBytes)
|
||||||
{
|
{
|
||||||
if(totalBytes <= 0)
|
if(totalBytes <= 0)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
theSpeed = speedInfo;
|
||||||
download_list[nowDownload - 1].setMax(10000); // 最大值
|
download_list[nowDownload - 1].setMax(10000); // 最大值
|
||||||
download_list[nowDownload - 1].setValue((bytesRead * 10000) / totalBytes); // 当前值
|
download_list[nowDownload - 1].setValue(int(bytesRead * 100 / totalBytes) * 100); // 当前值
|
||||||
download_size = bytesRead;
|
download_size = bytesRead;
|
||||||
if(download_list[nowDownload - 1].close)
|
if(download_list[nowDownload - 1].close)
|
||||||
{
|
{
|
||||||
@@ -832,6 +834,7 @@ void Widget::sltAppinfoResetUi()
|
|||||||
ui->pushButton_update->setEnabled(false);
|
ui->pushButton_update->setEnabled(false);
|
||||||
ui->label_show->setText("Loading...");
|
ui->label_show->setText("Loading...");
|
||||||
ui->label_show->show();
|
ui->label_show->show();
|
||||||
|
ui->label_downloadCount->clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Widget::sltAppinfoTags(QStringList *tagList)
|
void Widget::sltAppinfoTags(QStringList *tagList)
|
||||||
@@ -875,7 +878,7 @@ void Widget::sltAppinfoTags(QStringList *tagList)
|
|||||||
|
|
||||||
void Widget::sltAppinfoDetails(QString *name, QString *details, QString *info,
|
void Widget::sltAppinfoDetails(QString *name, QString *details, QString *info,
|
||||||
QString *website, QString *packageName, QUrl *fileUrl,
|
QString *website, QString *packageName, QUrl *fileUrl,
|
||||||
bool isInstalled, bool isUpdated)
|
int downloadCount, bool isInstalled, bool isUpdated)
|
||||||
{
|
{
|
||||||
ui->label_appname->setText(appName = *name);
|
ui->label_appname->setText(appName = *name);
|
||||||
ui->label_appname->show();
|
ui->label_appname->show();
|
||||||
@@ -883,6 +886,7 @@ void Widget::sltAppinfoDetails(QString *name, QString *details, QString *info,
|
|||||||
ui->label_info->show();
|
ui->label_info->show();
|
||||||
ui->label_more->setText(*info);
|
ui->label_more->setText(*info);
|
||||||
ui->label_more->show();
|
ui->label_more->show();
|
||||||
|
ui->label_downloadCount->setText(tr("Total downloads: %1").arg(downloadCount));
|
||||||
|
|
||||||
pkgName = *packageName;
|
pkgName = *packageName;
|
||||||
url = *fileUrl;
|
url = *fileUrl;
|
||||||
@@ -954,7 +958,9 @@ void Widget::httpFinished() // 完成下载
|
|||||||
download_list[nowDownload - 1].free = true;
|
download_list[nowDownload - 1].free = true;
|
||||||
if(nowDownload < allDownload)
|
if(nowDownload < allDownload)
|
||||||
{
|
{
|
||||||
|
|
||||||
// 如果有排队则下载下一个
|
// 如果有排队则下载下一个
|
||||||
|
qDebug() << "切换下一个下载...";
|
||||||
nowDownload += 1;
|
nowDownload += 1;
|
||||||
while(download_list[nowDownload - 1].close)
|
while(download_list[nowDownload - 1].close)
|
||||||
{
|
{
|
||||||
@@ -1038,7 +1044,7 @@ void Widget::on_pushButton_updateServer_clicked()
|
|||||||
ui->comboBox_server->clear();
|
ui->comboBox_server->clear();
|
||||||
|
|
||||||
QFile::remove(QDir::homePath().toUtf8() + "/.config/spark-store/server.list");
|
QFile::remove(QDir::homePath().toUtf8() + "/.config/spark-store/server.list");
|
||||||
system("curl -o " + QDir::homePath().toUtf8() + "/.config/spark-store/server.list https://d.store.deepinos.org.cn/store/server.list");
|
system("curl -o " + QDir::homePath().toUtf8() + "/.config/spark-store/server.list https://d.store.deepinos.org.cn/store/server-and-mirror.list");
|
||||||
std::fstream server;
|
std::fstream server;
|
||||||
server.open(QDir::homePath().toUtf8() + "/.config/spark-store/server.list", std::ios::in);
|
server.open(QDir::homePath().toUtf8() + "/.config/spark-store/server.list", std::ios::in);
|
||||||
std::string lineTmp;
|
std::string lineTmp;
|
||||||
@@ -1324,7 +1330,7 @@ void Widget::on_webEngineView_urlChanged(const QUrl &arg1)
|
|||||||
ui->label_appname->clear();
|
ui->label_appname->clear();
|
||||||
ui->pushButton_download->setEnabled(false);
|
ui->pushButton_download->setEnabled(false);
|
||||||
ui->stackedWidget->setCurrentIndex(2);
|
ui->stackedWidget->setCurrentIndex(2);
|
||||||
qDebug() << "https://demo-one-vert.vercel.app/" + type_name + "/" + pname;
|
qDebug() << "https://d.store.deepinos.org.cn/" + type_name + "/" + pname;
|
||||||
qDebug() << "链接地址:" << arg1;
|
qDebug() << "链接地址:" << arg1;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -69,14 +69,14 @@ private slots:
|
|||||||
|
|
||||||
void httpFinished();
|
void httpFinished();
|
||||||
void httpReadyRead();
|
void httpReadyRead();
|
||||||
void updateDataReadProgress(qint64,qint64);
|
void updateDataReadProgress(QString, qint64, qint64);
|
||||||
|
|
||||||
// SpkAppInfoLoaderThread的槽函数
|
// SpkAppInfoLoaderThread的槽函数
|
||||||
void sltAppinfoResetUi();
|
void sltAppinfoResetUi();
|
||||||
void sltAppinfoTags(QStringList *tagList);
|
void sltAppinfoTags(QStringList *tagList);
|
||||||
void sltAppinfoDetails(QString *name, QString *details, QString *info,
|
void sltAppinfoDetails(QString *name, QString *details, QString *info,
|
||||||
QString *website, QString *packageName,
|
QString *website, QString *packageName,
|
||||||
QUrl *fileUrl, bool isInstalled,
|
QUrl *fileUrl, int downloadCount, bool isInstalled,
|
||||||
bool isUpdated);
|
bool isUpdated);
|
||||||
void sltAppinfoIcon(QPixmap *icon);
|
void sltAppinfoIcon(QPixmap *icon);
|
||||||
void sltAppinfoScreenshot(QPixmap *picture, int index);
|
void sltAppinfoScreenshot(QPixmap *picture, int index);
|
||||||
@@ -147,6 +147,7 @@ private:
|
|||||||
QFuture<void> load;
|
QFuture<void> load;
|
||||||
QFutureWatcher<void> watchScreenshotLoad;
|
QFutureWatcher<void> watchScreenshotLoad;
|
||||||
QTimer download_speed;
|
QTimer download_speed;
|
||||||
|
QString theSpeed;
|
||||||
QString type_name;
|
QString type_name;
|
||||||
QColor main_color;
|
QColor main_color;
|
||||||
int foot;
|
int foot;
|
||||||
|
|||||||
273
src/widget.ui
273
src/widget.ui
@@ -489,8 +489,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>903</width>
|
<width>889</width>
|
||||||
<height>849</height>
|
<height>846</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_17">
|
<layout class="QVBoxLayout" name="verticalLayout_17">
|
||||||
@@ -509,23 +509,7 @@
|
|||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QGridLayout" name="gridLayout">
|
<layout class="QGridLayout" name="gridLayout">
|
||||||
<item row="3" column="0">
|
<item row="4" column="2">
|
||||||
<spacer name="horizontalSpacer">
|
|
||||||
<property name="orientation">
|
|
||||||
<enum>Qt::Horizontal</enum>
|
|
||||||
</property>
|
|
||||||
<property name="sizeType">
|
|
||||||
<enum>QSizePolicy::Maximum</enum>
|
|
||||||
</property>
|
|
||||||
<property name="sizeHint" stdset="0">
|
|
||||||
<size>
|
|
||||||
<width>70</width>
|
|
||||||
<height>20</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
</spacer>
|
|
||||||
</item>
|
|
||||||
<item row="3" column="2">
|
|
||||||
<spacer name="horizontalSpacer_2">
|
<spacer name="horizontalSpacer_2">
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
<enum>Qt::Horizontal</enum>
|
<enum>Qt::Horizontal</enum>
|
||||||
@@ -541,30 +525,7 @@
|
|||||||
</property>
|
</property>
|
||||||
</spacer>
|
</spacer>
|
||||||
</item>
|
</item>
|
||||||
<item row="5" column="1">
|
<item row="4" column="3" rowspan="5" colspan="8">
|
||||||
<widget class="QPushButton" name="pushButton_download">
|
|
||||||
<property name="text">
|
|
||||||
<string>Install</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="0" column="3" colspan="2">
|
|
||||||
<widget class="QLabel" name="label_appname">
|
|
||||||
<property name="font">
|
|
||||||
<font>
|
|
||||||
<family>Bitstream Charter</family>
|
|
||||||
<pointsize>22</pointsize>
|
|
||||||
</font>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>Name</string>
|
|
||||||
</property>
|
|
||||||
<property name="textInteractionFlags">
|
|
||||||
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="3" column="3" rowspan="5" colspan="8">
|
|
||||||
<widget class="QLabel" name="label_info">
|
<widget class="QLabel" name="label_info">
|
||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
@@ -585,7 +546,76 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="3" column="1">
|
<item row="4" column="0">
|
||||||
|
<spacer name="horizontalSpacer">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeType">
|
||||||
|
<enum>QSizePolicy::Maximum</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>70</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
<item row="0" column="6">
|
||||||
|
<widget class="QPushButton" name="pushButton_website">
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>70</width>
|
||||||
|
<height>16777215</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true"/>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Site</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="6" column="1">
|
||||||
|
<widget class="QPushButton" name="pushButton_download">
|
||||||
|
<property name="text">
|
||||||
|
<string>Install</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="7" column="1">
|
||||||
|
<widget class="QPushButton" name="pushButton_uninstall">
|
||||||
|
<property name="text">
|
||||||
|
<string>Uninstall</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="3" column="3">
|
||||||
|
<spacer name="verticalSpacer_6">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Vertical</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeType">
|
||||||
|
<enum>QSizePolicy::Fixed</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>20</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
<item row="0" column="8">
|
||||||
|
<widget class="QPushButton" name="pushButton">
|
||||||
|
<property name="text">
|
||||||
|
<string>Share</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="4" column="1">
|
||||||
<widget class="QLabel" name="label_appicon">
|
<widget class="QLabel" name="label_appicon">
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
@@ -613,6 +643,19 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item row="8" column="1" rowspan="2">
|
||||||
|
<spacer name="verticalSpacer_2">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Vertical</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>20</width>
|
||||||
|
<height>40</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
<item row="0" column="10">
|
<item row="0" column="10">
|
||||||
<spacer name="horizontalSpacer_6">
|
<spacer name="horizontalSpacer_6">
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
@@ -626,94 +669,19 @@
|
|||||||
</property>
|
</property>
|
||||||
</spacer>
|
</spacer>
|
||||||
</item>
|
</item>
|
||||||
<item row="7" column="1" rowspan="2">
|
<item row="0" column="3" colspan="2">
|
||||||
<spacer name="verticalSpacer_2">
|
<widget class="QLabel" name="label_appname">
|
||||||
<property name="orientation">
|
<property name="font">
|
||||||
<enum>Qt::Vertical</enum>
|
<font>
|
||||||
</property>
|
<family>Bitstream Charter</family>
|
||||||
<property name="sizeHint" stdset="0">
|
<pointsize>22</pointsize>
|
||||||
<size>
|
</font>
|
||||||
<width>20</width>
|
|
||||||
<height>40</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
</spacer>
|
|
||||||
</item>
|
|
||||||
<item row="4" column="1">
|
|
||||||
<spacer name="verticalSpacer_3">
|
|
||||||
<property name="orientation">
|
|
||||||
<enum>Qt::Vertical</enum>
|
|
||||||
</property>
|
|
||||||
<property name="sizeType">
|
|
||||||
<enum>QSizePolicy::Fixed</enum>
|
|
||||||
</property>
|
|
||||||
<property name="sizeHint" stdset="0">
|
|
||||||
<size>
|
|
||||||
<width>20</width>
|
|
||||||
<height>20</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
</spacer>
|
|
||||||
</item>
|
|
||||||
<item row="6" column="1">
|
|
||||||
<widget class="QPushButton" name="pushButton_uninstall">
|
|
||||||
<property name="text">
|
|
||||||
<string>Uninstall</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="0" column="6">
|
|
||||||
<widget class="QPushButton" name="pushButton_website">
|
|
||||||
<property name="maximumSize">
|
|
||||||
<size>
|
|
||||||
<width>70</width>
|
|
||||||
<height>16777215</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="styleSheet">
|
|
||||||
<string notr="true"/>
|
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Site</string>
|
<string>Name</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
<property name="textInteractionFlags">
|
||||||
</item>
|
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
|
||||||
<item row="2" column="3">
|
|
||||||
<spacer name="verticalSpacer_6">
|
|
||||||
<property name="orientation">
|
|
||||||
<enum>Qt::Vertical</enum>
|
|
||||||
</property>
|
|
||||||
<property name="sizeType">
|
|
||||||
<enum>QSizePolicy::Fixed</enum>
|
|
||||||
</property>
|
|
||||||
<property name="sizeHint" stdset="0">
|
|
||||||
<size>
|
|
||||||
<width>20</width>
|
|
||||||
<height>20</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
</spacer>
|
|
||||||
</item>
|
|
||||||
<item row="0" column="5">
|
|
||||||
<spacer name="horizontalSpacer_7">
|
|
||||||
<property name="orientation">
|
|
||||||
<enum>Qt::Horizontal</enum>
|
|
||||||
</property>
|
|
||||||
<property name="sizeType">
|
|
||||||
<enum>QSizePolicy::Fixed</enum>
|
|
||||||
</property>
|
|
||||||
<property name="sizeHint" stdset="0">
|
|
||||||
<size>
|
|
||||||
<width>10</width>
|
|
||||||
<height>20</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
</spacer>
|
|
||||||
</item>
|
|
||||||
<item row="0" column="8">
|
|
||||||
<widget class="QPushButton" name="pushButton">
|
|
||||||
<property name="text">
|
|
||||||
<string>Share</string>
|
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@@ -913,6 +881,45 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item row="0" column="5">
|
||||||
|
<spacer name="horizontalSpacer_7">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeType">
|
||||||
|
<enum>QSizePolicy::Fixed</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>10</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
<item row="5" column="1">
|
||||||
|
<spacer name="verticalSpacer_3">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Vertical</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeType">
|
||||||
|
<enum>QSizePolicy::Fixed</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>20</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
<item row="2" column="3">
|
||||||
|
<widget class="QLabel" name="label_downloadCount">
|
||||||
|
<property name="text">
|
||||||
|
<string>Total downloads</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
@@ -993,8 +1000,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>869</width>
|
<width>851</width>
|
||||||
<height>325</height>
|
<height>327</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
||||||
@@ -1123,8 +1130,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>738</width>
|
<width>697</width>
|
||||||
<height>886</height>
|
<height>805</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_23">
|
<layout class="QVBoxLayout" name="verticalLayout_23">
|
||||||
|
|||||||
@@ -11,12 +11,19 @@
|
|||||||
void SpkAppInfoLoaderThread::run()
|
void SpkAppInfoLoaderThread::run()
|
||||||
{
|
{
|
||||||
emit requestResetUi();
|
emit requestResetUi();
|
||||||
|
int downloadCount = 0;
|
||||||
|
|
||||||
httpClient = new AeaQt::HttpClient;
|
httpClient = new AeaQt::HttpClient;
|
||||||
|
|
||||||
|
httpClient->get(targetUrl.toString().replace("app.json", "download-times.txt"))
|
||||||
|
.onResponse([&downloadCount](QByteArray text)
|
||||||
|
{
|
||||||
|
downloadCount = QString(text).toInt();
|
||||||
|
});
|
||||||
|
|
||||||
httpClient->get(targetUrl.toString())
|
httpClient->get(targetUrl.toString())
|
||||||
.header("content-type", "application/json")
|
.header("content-type", "application/json")
|
||||||
.onResponse([this](QByteArray json_array)
|
.onResponse([&](QByteArray json_array)
|
||||||
{
|
{
|
||||||
qDebug() << "请求应用信息 " << json_array;
|
qDebug() << "请求应用信息 " << json_array;
|
||||||
QString urladdress, deatils, more, packagename, appweb;
|
QString urladdress, deatils, more, packagename, appweb;
|
||||||
@@ -29,7 +36,7 @@ void SpkAppInfoLoaderThread::run()
|
|||||||
|
|
||||||
QString deburl = serverUrl;
|
QString deburl = serverUrl;
|
||||||
deburl = deburl.left(urladdress.length() - 1);
|
deburl = deburl.left(urladdress.length() - 1);
|
||||||
urladdress = "https://img.jerrywang.top/"; // 使用图片专用服务器请保留这行,删除后将使用源服务器
|
urladdress = "https://d.store.deepinos.org.cn/"; // 使用图片专用服务器请保留这行,删除后将使用源服务器
|
||||||
urladdress = urladdress.left(urladdress.length() - 1);
|
urladdress = urladdress.left(urladdress.length() - 1);
|
||||||
|
|
||||||
for(int i = 3; i < downloadurl.size(); i++)
|
for(int i = 3; i < downloadurl.size(); i++)
|
||||||
@@ -95,7 +102,7 @@ void SpkAppInfoLoaderThread::run()
|
|||||||
isUpdated = false;
|
isUpdated = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
emit requestSetAppInformation(&appName, &details, &more, &appweb, &packagename, &fileUrl, isInstalled, isUpdated);
|
emit requestSetAppInformation(&appName, &details, &more, &appweb, &packagename, &fileUrl, downloadCount, isInstalled, isUpdated);
|
||||||
|
|
||||||
// tag 加载
|
// tag 加载
|
||||||
QString tags = json["Tags"].toString();
|
QString tags = json["Tags"].toString();
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ signals:
|
|||||||
void requestSetTags(QStringList *tagList);
|
void requestSetTags(QStringList *tagList);
|
||||||
void requestSetAppInformation(QString *name, QString *details, QString *info,
|
void requestSetAppInformation(QString *name, QString *details, QString *info,
|
||||||
QString *website, QString *packageName,
|
QString *website, QString *packageName,
|
||||||
QUrl *fileUrl, bool isInstalled,
|
QUrl *fileUrl, int downloadCount, bool isInstalled,
|
||||||
bool isUpdated);
|
bool isUpdated);
|
||||||
void finishedIconLoad(QPixmap *icon);
|
void finishedIconLoad(QPixmap *icon);
|
||||||
void finishedScreenshotLoad(QPixmap *icon, int index); // 该信号必须以 BlockingQueued 方式连接
|
void finishedScreenshotLoad(QPixmap *icon, int index); // 该信号必须以 BlockingQueued 方式连接
|
||||||
|
|||||||
147
tool/apt-fast-conf/apt-fast.conf
Normal file
147
tool/apt-fast-conf/apt-fast.conf
Normal file
@@ -0,0 +1,147 @@
|
|||||||
|
###################################################################
|
||||||
|
# CONFIGURATION OPTIONS
|
||||||
|
###################################################################
|
||||||
|
# Every item has a default value besides MIRRORS (which is unset).
|
||||||
|
|
||||||
|
# Use aptitude, apt-get, or apt?
|
||||||
|
# Note that apt-get is used as a fallback for outputting the
|
||||||
|
# package URI list for e.g. aptitude, which can't do this
|
||||||
|
# Optionally add the FULLPATH to apt-get or apt-rpm or aptitude
|
||||||
|
# e.g. /usr/bin/aptitude
|
||||||
|
#
|
||||||
|
# Default: apt-get
|
||||||
|
#
|
||||||
|
_APTMGR=apt
|
||||||
|
|
||||||
|
|
||||||
|
# Enable DOWNLOADBEFORE to suppress apt-fast confirmation dialog and download
|
||||||
|
# packages directly.
|
||||||
|
#
|
||||||
|
# Default: dialog enabled
|
||||||
|
#
|
||||||
|
DOWNLOADBEFORE=true
|
||||||
|
|
||||||
|
|
||||||
|
# Choose mirror list to speed up downloads from same archive. To select some
|
||||||
|
# mirrors take a look at your distribution's archive mirror lists.
|
||||||
|
# Debian: http://www.debian.org/mirror/list
|
||||||
|
# Ubuntu: https://launchpad.net/ubuntu/+archivemirrors
|
||||||
|
#
|
||||||
|
# It is required to add mirrors in the sources.list to this array as well, so
|
||||||
|
# apt-fast can destinguish between different distributions.
|
||||||
|
#
|
||||||
|
# Examples:
|
||||||
|
#
|
||||||
|
# Different distributions (as in operating systems):
|
||||||
|
#
|
||||||
|
# sources.list:
|
||||||
|
# deb http://deb.debian.org/debian/ unstable main non-free contrib
|
||||||
|
# deb http://de.archive.ubuntu.com/ubuntu/ bionic main universe
|
||||||
|
#
|
||||||
|
# apt-fast.conf:
|
||||||
|
# MIRRORS=( 'http://deb.debian.org/debian','http://ftp.debian.org/debian,http://ftp2.de.debian.org/debian,http://ftp.de.debian.org/debian,ftp://ftp.uni-kl.de/debian'
|
||||||
|
# 'http://archive.ubuntu.com/ubuntu,http://de.archive.ubuntu.com/ubuntu,http://ftp.halifax.rwth-aachen.de/ubuntu,http://ftp.uni-kl.de/pub/linux/ubuntu,http://mirror.informatik.uni-mannheim.de/pub/linux/distributions/ubuntu/' )
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Single distribution:
|
||||||
|
#
|
||||||
|
# sources.list:
|
||||||
|
# deb http://fr.archive.ubuntu.com/ubuntu/ bionic main
|
||||||
|
# deb http://fr.archive.ubuntu.com/ubuntu/ artful main
|
||||||
|
#
|
||||||
|
# apt-fast.conf:
|
||||||
|
# MIRRORS=( 'http://fr.archive.ubuntu.com/ubuntu,http://bouyguestelecom.ubuntu.lafibre.info/ubuntu,http://mirror.ovh.net/ubuntu,http://ubuntu-archive.mirrors.proxad.net/ubuntu' )
|
||||||
|
#
|
||||||
|
# Default: disabled
|
||||||
|
#
|
||||||
|
MIRRORS=( 'https://d.store.deepinos.org.cn/,https://d1.store.deepinos.org.cn/,https://d2.store.deepinos.org.cn/,https://d3.store.deepinos.org.cn/,https://d4.store.deepinos.org.cn/,https://d5.store.deepinos.org.cn/,http://cdn.dl.uniartisan.com:9000/deepinos/' )
|
||||||
|
|
||||||
|
|
||||||
|
# Maximum number of connections
|
||||||
|
# You can use this value in _DOWNLOADER command. Escape with ${}: ${_MAXNUM}
|
||||||
|
#
|
||||||
|
# Default: 5
|
||||||
|
#
|
||||||
|
_MAXNUM=5
|
||||||
|
|
||||||
|
|
||||||
|
# Maximum number of connections per server
|
||||||
|
# Default: 10
|
||||||
|
#
|
||||||
|
_MAXCONPERSRV=10
|
||||||
|
|
||||||
|
|
||||||
|
# Download file using given number of connections
|
||||||
|
# If more than N URIs are given, first N URIs are used and remaining URIs are used for backup.
|
||||||
|
# If less than N URIs are given, those URIs are used more than once so that N connections total are made simultaneously.
|
||||||
|
#
|
||||||
|
_SPLITCON=8
|
||||||
|
|
||||||
|
|
||||||
|
# Split size i.e. size of each piece
|
||||||
|
# Possible Values: 1M-1024M
|
||||||
|
#
|
||||||
|
_MINSPLITSZ=1M
|
||||||
|
|
||||||
|
|
||||||
|
# Piece selection algorithm to use
|
||||||
|
# Available values are: default, inorder, geom
|
||||||
|
# default: selects piece so that it reduces the number of establishing connection, reasonable for most cases
|
||||||
|
# inorder: selects pieces in sequential order starting from first piece
|
||||||
|
# geom: selects piece which has minimum index like inorder, but it exponentially increasingly keeps space from previously selected pieces
|
||||||
|
#
|
||||||
|
_PIECEALGO=default
|
||||||
|
|
||||||
|
|
||||||
|
# Downloadmanager listfile
|
||||||
|
# You can use this value in _DOWNLOADER command. Escape with ${}: ${DLLIST}
|
||||||
|
#
|
||||||
|
# Default: /tmp/apt-fast.list
|
||||||
|
#
|
||||||
|
DLLIST='/tmp/apt-fast.list'
|
||||||
|
|
||||||
|
|
||||||
|
# Download command to use. Temporary download list is designed for aria2. But
|
||||||
|
# you can choose another download command or download manager. It has to
|
||||||
|
# support following input file syntax (\t is tab character):
|
||||||
|
#
|
||||||
|
# # Comment
|
||||||
|
# MIRROR1\tMIRROR2\tMIRROR3...
|
||||||
|
# out=FILENAME1
|
||||||
|
# MIRROR1\tMIRROR2\tMIRROR3...
|
||||||
|
# out=FILENAME2
|
||||||
|
# ...
|
||||||
|
#
|
||||||
|
# Examples:
|
||||||
|
# aria2c with a proxy (set username, proxy, ip and password!)
|
||||||
|
# _DOWNLOADER='aria2c --no-conf -c -j ${_MAXNUM} -x ${_MAXCONPERSRV} -s ${_SPLITCON} --min-split-size=${_MINSPLITSZ} --stream-piece-selector=${_PIECEALGO} --http-proxy=http://username:password@proxy_ip:proxy_port -i ${DLLIST}'
|
||||||
|
#
|
||||||
|
# Default: _DOWNLOADER='aria2c --no-conf -c -j ${_MAXNUM} -x ${_MAXCONPERSRV} -s ${_SPLITCON} --min-split-size=${_MINSPLITSZ} --stream-piece-selector=${_PIECEALGO} -i ${DLLIST} --connect-timeout=600 --timeout=600 -m0'
|
||||||
|
#
|
||||||
|
_DOWNLOADER='aria2c --no-conf -c -j ${_MAXNUM} -x ${_MAXCONPERSRV} -s ${_SPLITCON} --min-split-size=${_MINSPLITSZ} --stream-piece-selector=${_PIECEALGO} -i ${DLLIST} --connect-timeout=600 --timeout=600 -m0'
|
||||||
|
|
||||||
|
|
||||||
|
# Download temp folder for Downloadmanager
|
||||||
|
# example /tmp/apt-fast. Standard is /var/cache/apt-fast
|
||||||
|
#
|
||||||
|
# Default: /var/cache/apt/apt-fast
|
||||||
|
#
|
||||||
|
DLDIR='/var/cache/apt/apt-fast'
|
||||||
|
|
||||||
|
|
||||||
|
# APT archives cache directory
|
||||||
|
#
|
||||||
|
# Default /var/cache/apt/archives
|
||||||
|
# (APT configuration items Dir::Cache and Dir::Cache::archives)
|
||||||
|
#
|
||||||
|
APTCACHE='/var/cache/apt/archives'
|
||||||
|
|
||||||
|
|
||||||
|
# apt-fast colors
|
||||||
|
# Colors are disabled when not using a terminal.
|
||||||
|
#
|
||||||
|
# Default colors are:
|
||||||
|
# cGreen='\e[0;32m'
|
||||||
|
# cRed='\e[0;31m'
|
||||||
|
# cBlue='\e[0;34m'
|
||||||
|
# endColor='\e[0m'
|
||||||
19
tool/ss-apt-fast
Executable file
19
tool/ss-apt-fast
Executable file
@@ -0,0 +1,19 @@
|
|||||||
|
#/bin/bash
|
||||||
|
|
||||||
|
if [ "$(id -u)" != "0" ]
|
||||||
|
then
|
||||||
|
echo "ss-apt-fast需要在root下运行"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
DEPEND=`which apt-fast`
|
||||||
|
if [ "$DEPEND" = "" ] ; then
|
||||||
|
echo "未安装依赖:apt-fast 开始安装"
|
||||||
|
apt install apt-fast -y
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm /opt/durapps/spark-store/bin/apt-fast-conf/apt-fast.conf
|
||||||
|
echo "从服务器获取配置和镜像列表..."
|
||||||
|
curl -s --progress-bar -o /opt/durapps/spark-store/bin/apt-fast-conf/apt-fast.conf "https://gitee.com/deepin-community-store/repo_auto_update_script/raw/master/mirror-list-for-apt-fast/apt-fast.conf"
|
||||||
|
|
||||||
|
bwrap --dev-bind / / --bind '/opt/durapps/spark-store/bin/apt-fast-conf/apt-fast.conf' /etc/apt-fast.conf apt-fast "$@"
|
||||||
@@ -21,7 +21,7 @@ then
|
|||||||
echo "ssinstall需要在root下运行";
|
echo "ssinstall需要在root下运行";
|
||||||
uname=`whoami`
|
uname=`whoami`
|
||||||
echo "Now input the password of $uname"
|
echo "Now input the password of $uname"
|
||||||
read upass
|
read -e upass
|
||||||
################检查密码对不对
|
################检查密码对不对
|
||||||
echo "$upass" | sudo -S echo "i love amber forever"
|
echo "$upass" | sudo -S echo "i love amber forever"
|
||||||
passcheck=`echo "$upass" | sudo -S echo "i love amber forever"`
|
passcheck=`echo "$upass" | sudo -S echo "i love amber forever"`
|
||||||
@@ -38,10 +38,8 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
##################apt-fast/metalink测试
|
##################apt-fast/metalink测试
|
||||||
DEPEND=`which apt-fast`
|
DEPEND="这里一定会安装所以放弃处理"
|
||||||
isuos=`cat /etc/os-release | grep UnionTech`
|
isuos=`cat /etc/os-release | grep UnionTech`
|
||||||
|
|
||||||
|
|
||||||
@@ -51,25 +49,24 @@ if [ "$(id -u)" != "0" ];then
|
|||||||
#临时提升星火源的优先级
|
#临时提升星火源的优先级
|
||||||
echo "$upass" | sudo -S sed -i 's/400/500/g' /etc/apt/preferences.d/sparkstore
|
echo "$upass" | sudo -S sed -i 's/400/500/g' /etc/apt/preferences.d/sparkstore
|
||||||
|
|
||||||
if [ "$DEPEND" = "" ] ; then
|
IS_INSTALLED=`which apt-fast`
|
||||||
echo "没有检测到apt-fast组件,将会使用单线程下载依赖"
|
if [ "$IS_INSTALLED" = "" ] ; then
|
||||||
echo "你可以安装apt-fast来加速下载(对UOS无效)"
|
echo "未安装依赖:apt-fast 开始安装"
|
||||||
echo "若要使用apt-fast加速下载,请在安装apt-fast时选择使用apt并选择略过确认对话框"
|
echo "$upass" | sudo -S apt install apt-fast -y
|
||||||
echo ----------------------------------------------------------------------------------
|
|
||||||
echo "$upass" | sudo -S dpkg -i $1 || apt install -yf || dpkg -P $1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if [ "$DEPEND" != "" ] && [ "$isuos" != "" ]; then
|
if [ "$DEPEND" != "" ] && [ "$isuos" != "" ]; then
|
||||||
echo "UOS中系统依赖无法使用第三方下载工具,放弃使用apt-fast"
|
echo "UOS中系统依赖无法使用第三方下载工具,放弃使用apt-fast"
|
||||||
echo ----------------------------------------------------------------------------------
|
echo ----------------------------------------------------------------------------------
|
||||||
echo "$upass" | sudo -S dpkg -i $1 || apt install -yf || dpkg -P $1
|
echo "$upass" | sudo -S dpkg -i $1 || sudo apt install -yf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$DEPEND" != "" ] && [ "$isuos" = "" ]; then
|
if [ "$DEPEND" != "" ] && [ "$isuos" = "" ]; then
|
||||||
echo "检测到apt-fast,使用apt-fast进行多线程下载加速"
|
echo "检测到apt-fast,使用ss-apt-fast进行多线程下载加速"
|
||||||
echo ----------------------------------------------------------------------------------
|
echo ----------------------------------------------------------------------------------
|
||||||
echo "$upass" | sudo -S dpkg -i $1 || apt-fast install -yf || dpkg -P $1
|
echo "$upass" | sudo -S dpkg -i $1 || sudo ss-apt-fast install -yf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "$upass" | sudo -S sed -i 's/500/400/g' /etc/apt/preferences.d/sparkstore
|
echo "$upass" | sudo -S sed -i 's/500/400/g' /etc/apt/preferences.d/sparkstore
|
||||||
@@ -83,25 +80,23 @@ else
|
|||||||
#临时提升星火源的优先级
|
#临时提升星火源的优先级
|
||||||
sed -i 's/400/500/g' /etc/apt/preferences.d/sparkstore
|
sed -i 's/400/500/g' /etc/apt/preferences.d/sparkstore
|
||||||
|
|
||||||
if [ "$DEPEND" = "" ] ; then
|
IS_INSTALLED=`which apt-fast`
|
||||||
echo "没有检测到apt-fast组件,将会使用单线程下载依赖"
|
if [ "$IS_INSTALLED" = "" ] ; then
|
||||||
echo "你可以安装apt-fast来加速下载(对UOS无效)"
|
echo "未安装依赖:apt-fast 开始安装"
|
||||||
echo "若要使用apt-fast加速下载,请在安装apt-fast时选择使用apt并选择略过确认对话框"
|
apt install apt-fast -y
|
||||||
echo ----------------------------------------------------------------------------------
|
|
||||||
dpkg -i $1 || apt install -yf || dpkg -P $1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
if [ "$DEPEND" != "" ] && [ "$isuos" != "" ]; then
|
if [ "$DEPEND" != "" ] && [ "$isuos" != "" ]; then
|
||||||
echo "UOS中系统依赖无法使用第三方下载工具,放弃使用apt-fast"
|
echo "UOS中系统依赖无法使用第三方下载工具,放弃使用apt-fast"
|
||||||
echo ----------------------------------------------------------------------------------
|
echo ----------------------------------------------------------------------------------
|
||||||
dpkg -i $1 || apt install -yf || dpkg -P $1
|
dpkg -i $1 || apt install -yf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$DEPEND" != "" ] && [ "$isuos" = "" ]; then
|
if [ "$DEPEND" != "" ] && [ "$isuos" = "" ]; then
|
||||||
echo "检测到apt-fast,使用apt-fast进行多线程下载加速"
|
echo "检测到apt-fast,使用ss-apt-fast进行多线程下载加速"
|
||||||
echo ----------------------------------------------------------------------------------
|
echo ----------------------------------------------------------------------------------
|
||||||
dpkg -i $1 || apt-fast install -yf || dpkg -P $1
|
dpkg -i $1 || ss-apt-fast install -yf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sed -i 's/500/400/g' /etc/apt/preferences.d/sparkstore
|
sed -i 's/500/400/g' /etc/apt/preferences.d/sparkstore
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
DEPEND=`which apt-fast`
|
|
||||||
if [ "$DEPEND" = "" ] ; then
|
echo "以上可升级,是否升级?[y/n]"
|
||||||
echo "没有安装apt-fast,使用apt运行"
|
read yes_or_no
|
||||||
sudo apt upgrade -o Dir::Etc::sourcelist="sources.list.d/sparkstore.list" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0"
|
if [ "$yes_or_no" = "y" ];then
|
||||||
|
sudo ss-apt-fast upgrade -y -o Dir::Etc::sourcelist="sources.list.d/sparkstore.list" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0"
|
||||||
else
|
else
|
||||||
echo "已安装apt-fast,使用apt-fast加速运行"
|
exit
|
||||||
sudo apt-fast upgrade -o Dir::Etc::sourcelist="sources.list.d/sparkstore.list" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0"
|
|
||||||
fi
|
fi
|
||||||
@@ -29,13 +29,14 @@ echo "输入1 $text_update_open星火更新检测工具(如果开启则会在系
|
|||||||
echo "输入2 查看可更新软件包列表并决定是否更新"
|
echo "输入2 查看可更新软件包列表并决定是否更新"
|
||||||
echo "输入3 $text_auto_install_open点击安装免输入密码功能"
|
echo "输入3 $text_auto_install_open点击安装免输入密码功能"
|
||||||
echo "输入4 退出脚本"
|
echo "输入4 退出脚本"
|
||||||
read option
|
echo
|
||||||
|
read -e option
|
||||||
|
|
||||||
case $option in
|
case $option in
|
||||||
0)
|
0)
|
||||||
reset
|
reset
|
||||||
echo "此须知适用于自动更新功能"
|
echo "此须知适用于自动更新功能"
|
||||||
echo "此脚本可以检测星火源中是否有比当前系统更高版本的软件包,由您决定是否安装"
|
echo "此脚本可以检测星火源中是否有比当前系统更高版本的软件包,由您决定是否安装;在安装更新过程中请不要直接点击关闭本页面,以免发生错误"
|
||||||
echo "此脚本使用apt update/apt list --upgrade/apt upgrade来更新软件源、列出更新列表和操作更新"
|
echo "此脚本使用apt update/apt list --upgrade/apt upgrade来更新软件源、列出更新列表和操作更新"
|
||||||
echo
|
echo
|
||||||
echo "该脚本不对其使用效果有任何明示或暗示的担保,在使用前请您确保您清楚地知道您在干什么。您应当清楚,星火商店的软件包并不是适配所有发行版的;尽管绝大多数的软件更新是无害的,您仍然应该仔细检查显示出来的更新内容,以确保不会对您 的依赖环境造成破坏,尤其是那些看起来和系统依赖相关的软件包。在查看过更新列表之后,确认更新之前,您仍有一次取消更新的机会。"
|
echo "该脚本不对其使用效果有任何明示或暗示的担保,在使用前请您确保您清楚地知道您在干什么。您应当清楚,星火商店的软件包并不是适配所有发行版的;尽管绝大多数的软件更新是无害的,您仍然应该仔细检查显示出来的更新内容,以确保不会对您 的依赖环境造成破坏,尤其是那些看起来和系统依赖相关的软件包。在查看过更新列表之后,确认更新之前,您仍有一次取消更新的机会。"
|
||||||
@@ -51,13 +52,13 @@ case $option in
|
|||||||
1)
|
1)
|
||||||
echo "执行以下操作需要授权..."
|
echo "执行以下操作需要授权..."
|
||||||
if [ -f /etc/xdg/autostart/spark-update-notifier.desktop ];then
|
if [ -f /etc/xdg/autostart/spark-update-notifier.desktop ];then
|
||||||
echo "检测到已经启动了自动更新检测,执行关闭"
|
echo "---检测到已经启动了自动更新检测,执行关闭"
|
||||||
sudo systemctl disable spark-update-notifier
|
sudo systemctl disable spark-update-notifier
|
||||||
sudo rm /etc/xdg/autostart/spark-update-notifier.desktop
|
sudo rm /etc/xdg/autostart/spark-update-notifier.desktop
|
||||||
sleep 3
|
sleep 3
|
||||||
reset
|
reset
|
||||||
else
|
else
|
||||||
echo "未检测到自动更新检测,启动"
|
echo "---未检测到自动更新检测,执行启动"
|
||||||
sudo systemctl enable spark-update-notifier
|
sudo systemctl enable spark-update-notifier
|
||||||
sudo service spark-update-notifier start
|
sudo service spark-update-notifier start
|
||||||
# ln -s /opt/durapps/spark-store/bin/update-upgrade/autostart/spark-update-notifier.desktop $XDG_CONFIG_HOME/autostart
|
# ln -s /opt/durapps/spark-store/bin/update-upgrade/autostart/spark-update-notifier.desktop $XDG_CONFIG_HOME/autostart
|
||||||
@@ -70,16 +71,17 @@ case $option in
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
2)
|
2)
|
||||||
|
echo "请注意:如果有些更新需要从系统获取更多依赖,你将需要手动操作 sudo ss-apt-fast upgrade"
|
||||||
echo "执行以下操作需要授权..."
|
echo "执行以下操作需要授权..."
|
||||||
/opt/durapps/spark-store/bin/update-upgrade/ss-upgrade-list.sh
|
/opt/durapps/spark-store/bin/update-upgrade/ss-upgrade-list.sh
|
||||||
/opt/durapps/spark-store/bin/update-upgrade/ss-do-upgrade.sh
|
/opt/durapps/spark-store/bin/update-upgrade/ss-do-upgrade.sh
|
||||||
echo "请按回车返回"
|
echo "---请按回车返回"
|
||||||
read
|
read
|
||||||
reset
|
reset
|
||||||
;;
|
;;
|
||||||
3)
|
3)
|
||||||
if [ -f /usr/share/polkit-1/actions/store.spark-app.ssinstall.policy ];then
|
if [ -f /usr/share/polkit-1/actions/store.spark-app.ssinstall.policy ];then
|
||||||
echo "检测到已经启动了免输入密码,执行关闭"
|
echo "---检测到已经启动了免输入密码,执行关闭"
|
||||||
sudo rm /usr/share/polkit-1/actions/store.spark-app.ssinstall.policy
|
sudo rm /usr/share/polkit-1/actions/store.spark-app.ssinstall.policy
|
||||||
sleep 3
|
sleep 3
|
||||||
reset
|
reset
|
||||||
@@ -95,12 +97,12 @@ read is_accept_polkiy
|
|||||||
|
|
||||||
if [ "$is_accept_polkiy" = "1" ];then
|
if [ "$is_accept_polkiy" = "1" ];then
|
||||||
echo "执行以下操作需要授权..."
|
echo "执行以下操作需要授权..."
|
||||||
sudo ln /opt/durapps/spark-store/bin/auto-install-policy/store.spark-app.ssinstall.policy /usr/share/polkit-1/actions/store.spark-app.ssinstall.policy
|
sudo ln -s /opt/durapps/spark-store/bin/auto-install-policy/store.spark-app.ssinstall.policy /usr/share/polkit-1/actions/store.spark-app.ssinstall.policy
|
||||||
echo 已启动
|
echo "---已启动"
|
||||||
sleep 3
|
sleep 3
|
||||||
reset
|
reset
|
||||||
else
|
else
|
||||||
echo 未同意,返回
|
echo "---未同意,返回"
|
||||||
sleep 3
|
sleep 3
|
||||||
reset
|
reset
|
||||||
fi
|
fi
|
||||||
@@ -110,7 +112,7 @@ fi
|
|||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "无法识别的输入!请重新输入"
|
echo "---无法识别的输入!请重新输入"
|
||||||
reset
|
reset
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
update_app_number=`echo ${updatetext%package*} #从右向左截取第一个 src 后的字符串`
|
update_app_number=`echo ${updatetext%package*} #从右向左截取第一个 src 后的字符串`
|
||||||
update_app_number=`echo ${update_app_number: -1}`
|
update_app_number=`echo ${update_app_number##*information...}`
|
||||||
sudo echo "$update_app_number" > /tmp/spark-store-updatenum/number
|
sudo echo "$update_app_number" > /tmp/spark-store-updatenum/number
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -2,5 +2,5 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
|
||||||
echo "可更新的应用有:"
|
echo "---可更新的应用有:"
|
||||||
sudo apt list --upgradable -o Dir::Etc::sourcelist="sources.list.d/sparkstore.list" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0"
|
sudo apt list --upgradable -o Dir::Etc::sourcelist="sources.list.d/sparkstore.list" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0"
|
||||||
|
|||||||
@@ -38,9 +38,9 @@ else
|
|||||||
until [ -f "/usr/share/ca-certificates/deepin/private/priv.crt" ] ; do
|
until [ -f "/usr/share/ca-certificates/deepin/private/priv.crt" ] ; do
|
||||||
echo "没有检测到证书,准备调用证书工具生成证书,请输入您的UOS账号/密码。本脚本不会上传任何信息"
|
echo "没有检测到证书,准备调用证书工具生成证书,请输入您的UOS账号/密码。本脚本不会上传任何信息"
|
||||||
echo "请在此行输入您的UOS账号用户名/电话号/邮箱"
|
echo "请在此行输入您的UOS账号用户名/电话号/邮箱"
|
||||||
read account
|
read -e account
|
||||||
echo "请在此行输入您的UOS账号密码"
|
echo "请在此行输入您的UOS账号密码"
|
||||||
read passwd
|
read -e passwd
|
||||||
echo "即将安装证书,请在弹出的窗口安装"
|
echo "即将安装证书,请在弹出的窗口安装"
|
||||||
cert-tool -username="$account" -password="$passwd"
|
cert-tool -username="$account" -password="$passwd"
|
||||||
done
|
done
|
||||||
|
|||||||
@@ -45,47 +45,47 @@
|
|||||||
<context>
|
<context>
|
||||||
<name>SpkAppInfoLoaderThread</name>
|
<name>SpkAppInfoLoaderThread</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/workerthreads.cpp" line="167"/>
|
<location filename="../src/workerthreads.cpp" line="174"/>
|
||||||
<source>Failed to download app info. Please check internet connection.</source>
|
<source>Failed to download app info. Please check internet connection.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/workerthreads.cpp" line="48"/>
|
<location filename="../src/workerthreads.cpp" line="55"/>
|
||||||
<source>PkgName: </source>
|
<source>PkgName: </source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/workerthreads.cpp" line="49"/>
|
<location filename="../src/workerthreads.cpp" line="56"/>
|
||||||
<source>Version: </source>
|
<source>Version: </source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/workerthreads.cpp" line="52"/>
|
<location filename="../src/workerthreads.cpp" line="59"/>
|
||||||
<source>Author: </source>
|
<source>Author: </source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/workerthreads.cpp" line="57"/>
|
<location filename="../src/workerthreads.cpp" line="64"/>
|
||||||
<source>Official Site: </source>
|
<source>Official Site: </source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/workerthreads.cpp" line="61"/>
|
<location filename="../src/workerthreads.cpp" line="68"/>
|
||||||
<source>Contributor: </source>
|
<source>Contributor: </source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/workerthreads.cpp" line="62"/>
|
<location filename="../src/workerthreads.cpp" line="69"/>
|
||||||
<source>Update Time: </source>
|
<source>Update Time: </source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/workerthreads.cpp" line="63"/>
|
<location filename="../src/workerthreads.cpp" line="70"/>
|
||||||
<source>Installed Size: </source>
|
<source>Installed Size: </source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/workerthreads.cpp" line="123"/>
|
<location filename="../src/workerthreads.cpp" line="130"/>
|
||||||
<source>Failed to load application icon.</source>
|
<source>Failed to load application icon.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -133,56 +133,56 @@
|
|||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="560"/>
|
<location filename="../src/widget.ui" line="681"/>
|
||||||
<source>Name</source>
|
<source>Name</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="606"/>
|
<location filename="../src/widget.ui" line="636"/>
|
||||||
<source>ICON</source>
|
<source>ICON</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="547"/>
|
<location filename="../src/widget.ui" line="584"/>
|
||||||
<location filename="../src/widget.cpp" line="906"/>
|
<location filename="../src/widget.cpp" line="908"/>
|
||||||
<location filename="../src/widget.cpp" line="1175"/>
|
<location filename="../src/widget.cpp" line="1177"/>
|
||||||
<source>Install</source>
|
<source>Install</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="661"/>
|
<location filename="../src/widget.ui" line="591"/>
|
||||||
<source>Uninstall</source>
|
<source>Uninstall</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="677"/>
|
<location filename="../src/widget.ui" line="577"/>
|
||||||
<source>Site</source>
|
<source>Site</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="750"/>
|
<location filename="../src/widget.ui" line="718"/>
|
||||||
<location filename="../src/widget.ui" line="753"/>
|
<location filename="../src/widget.ui" line="721"/>
|
||||||
<source><html><head/><body><p>This app is developed by community user,we give this tag to honor those who contribute to the Linux Ecology</p></body></html></source>
|
<source><html><head/><body><p>This app is developed by community user,we give this tag to honor those who contribute to the Linux Ecology</p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="756"/>
|
<location filename="../src/widget.ui" line="724"/>
|
||||||
<source><html><head/><body><p><img src=":/tags/community-small.png"/></p></body></html></source>
|
<source><html><head/><body><p><img src=":/tags/community-small.png"/></p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="775"/>
|
<location filename="../src/widget.ui" line="743"/>
|
||||||
<source><html><head/><body><p><img src=":/tags/ubuntu-small.png"/></p></body></html></source>
|
<source><html><head/><body><p><img src=":/tags/ubuntu-small.png"/></p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="813"/>
|
<location filename="../src/widget.ui" line="781"/>
|
||||||
<source><html><head/><body><p><img src=":/tags/uos-small.png"/></p></body></html></source>
|
<source><html><head/><body><p><img src=":/tags/uos-small.png"/></p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="788"/>
|
<location filename="../src/widget.ui" line="756"/>
|
||||||
<location filename="../src/widget.ui" line="791"/>
|
<location filename="../src/widget.ui" line="759"/>
|
||||||
<source><html><head/><body><p>Capable to deepin 20</p></body></html></source>
|
<source><html><head/><body><p>Capable to deepin 20</p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -227,46 +227,46 @@
|
|||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="794"/>
|
<location filename="../src/widget.ui" line="762"/>
|
||||||
<source><html><head/><body><p><img src=":/tags/deepin-small.png"/></p></body></html></source>
|
<source><html><head/><body><p><img src=":/tags/deepin-small.png"/></p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="807"/>
|
<location filename="../src/widget.ui" line="775"/>
|
||||||
<location filename="../src/widget.ui" line="810"/>
|
<location filename="../src/widget.ui" line="778"/>
|
||||||
<source><html><head/><body><p>Capable to UOS home 20</p></body></html></source>
|
<source><html><head/><body><p>Capable to UOS home 20</p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="826"/>
|
<location filename="../src/widget.ui" line="794"/>
|
||||||
<location filename="../src/widget.ui" line="829"/>
|
<location filename="../src/widget.ui" line="797"/>
|
||||||
<source><html><head/><body><p>This is a DTK5 app,which means it would have better effect on Deepin Desktop Environment</p></body></html></source>
|
<source><html><head/><body><p>This is a DTK5 app,which means it would have better effect on Deepin Desktop Environment</p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="832"/>
|
<location filename="../src/widget.ui" line="800"/>
|
||||||
<source><html><head/><body><p><img src=":/tags/dtk-small.png"/></p></body></html></source>
|
<source><html><head/><body><p><img src=":/tags/dtk-small.png"/></p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="864"/>
|
<location filename="../src/widget.ui" line="832"/>
|
||||||
<location filename="../src/widget.ui" line="867"/>
|
<location filename="../src/widget.ui" line="835"/>
|
||||||
<source><html><head/><body><p>A deepin-wine5 app.If you are using ubuntu or other non-deepin distro,you should deploy deepin-wine5 by your self.</p></body></html></source>
|
<source><html><head/><body><p>A deepin-wine5 app.If you are using ubuntu or other non-deepin distro,you should deploy deepin-wine5 by your self.</p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="883"/>
|
<location filename="../src/widget.ui" line="851"/>
|
||||||
<location filename="../src/widget.ui" line="886"/>
|
<location filename="../src/widget.ui" line="854"/>
|
||||||
<source><html><head/><body><p>An Appimage to deb app.</p></body></html></source>
|
<source><html><head/><body><p>An Appimage to deb app.</p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="889"/>
|
<location filename="../src/widget.ui" line="857"/>
|
||||||
<source><html><head/><body><p><img src=":/tags/a2d-small.png"/></p></body></html></source>
|
<source><html><head/><body><p><img src=":/tags/a2d-small.png"/></p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="716"/>
|
<location filename="../src/widget.ui" line="614"/>
|
||||||
<source>Share</source>
|
<source>Share</source>
|
||||||
<translation type="unfinished">Spk share link</translation>
|
<translation type="unfinished">Spk share link</translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -291,109 +291,114 @@
|
|||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="769"/>
|
<location filename="../src/widget.ui" line="737"/>
|
||||||
<location filename="../src/widget.ui" line="772"/>
|
<location filename="../src/widget.ui" line="740"/>
|
||||||
<source><html><head/><body><p>Capable to Ubuntu 22.04</p></body></html></source>
|
<source><html><head/><body><p>Capable to Ubuntu 22.04</p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="845"/>
|
<location filename="../src/widget.ui" line="813"/>
|
||||||
<location filename="../src/widget.ui" line="848"/>
|
<location filename="../src/widget.ui" line="816"/>
|
||||||
<source><html><head/><body><p>A deepin-wine2 app.If you are using ubuntu or other non-deepin distro,you should deploy deepin-wine2 by your self.</p></body></html></source>
|
<source><html><head/><body><p>A deepin-wine2 app.If you are using ubuntu or other non-deepin distro,you should deploy deepin-wine2 by your self.</p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="851"/>
|
<location filename="../src/widget.ui" line="819"/>
|
||||||
<source><html><head/><body><p><img src=":/tags/dwine2-small.png"/></p></body></html></source>
|
<source><html><head/><body><p><img src=":/tags/dwine2-small.png"/></p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="870"/>
|
<location filename="../src/widget.ui" line="838"/>
|
||||||
<source><html><head/><body><p><img src=":/tags/dwine5-small.png"/></p></body></html></source>
|
<source><html><head/><body><p><img src=":/tags/dwine5-small.png"/></p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="930"/>
|
<location filename="../src/widget.ui" line="919"/>
|
||||||
<source>Info</source>
|
<source>Total downloads</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="937"/>
|
<location filename="../src/widget.ui" line="937"/>
|
||||||
|
<source>Info</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../src/widget.ui" line="944"/>
|
||||||
<source><html><head/><body><p>An app store developed by community enthusiasts</p></body></html></source>
|
<source><html><head/><body><p>An app store developed by community enthusiasts</p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="979"/>
|
<location filename="../src/widget.ui" line="986"/>
|
||||||
<source>Screenshots</source>
|
<source>Screenshots</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1142"/>
|
<location filename="../src/widget.ui" line="1149"/>
|
||||||
<source>Line Settings</source>
|
<source>Line Settings</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1158"/>
|
<location filename="../src/widget.ui" line="1165"/>
|
||||||
<source>Choose Line:</source>
|
<source>Choose Line:</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1181"/>
|
<location filename="../src/widget.ui" line="1188"/>
|
||||||
<source>Refresh</source>
|
<source>Refresh</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1223"/>
|
<location filename="../src/widget.ui" line="1230"/>
|
||||||
<source><html><head/><body><p>The role of the source server is to ensure that the software is updated, and supports the use of the apt tool to get the software. We usually prefer that you use the first line as the update source, which is generally the most stable. </p></body></html></source>
|
<source><html><head/><body><p>The role of the source server is to ensure that the software is updated, and supports the use of the apt tool to get the software. We usually prefer that you use the first line as the update source, which is generally the most stable. </p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1233"/>
|
<location filename="../src/widget.ui" line="1240"/>
|
||||||
<source>Update</source>
|
<source>Update</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1240"/>
|
<location filename="../src/widget.ui" line="1247"/>
|
||||||
<source>Source Server</source>
|
<source>Source Server</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1260"/>
|
<location filename="../src/widget.ui" line="1267"/>
|
||||||
<source>Server</source>
|
<source>Server</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1281"/>
|
<location filename="../src/widget.ui" line="1288"/>
|
||||||
<source>Temp</source>
|
<source>Temp</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1304"/>
|
<location filename="../src/widget.ui" line="1311"/>
|
||||||
<source>Clean</source>
|
<source>Clean</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1314"/>
|
<location filename="../src/widget.ui" line="1321"/>
|
||||||
<source>Since the dictionary is at /tmp,It would be cleaned automatically when system reboot.</source>
|
<source>Since the dictionary is at /tmp,It would be cleaned automatically when system reboot.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1327"/>
|
<location filename="../src/widget.ui" line="1334"/>
|
||||||
<source>Size:</source>
|
<source>Size:</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1341"/>
|
<location filename="../src/widget.ui" line="1348"/>
|
||||||
<source>Location:/tmp/spark-store</source>
|
<source>Location:/tmp/spark-store</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1362"/>
|
<location filename="../src/widget.ui" line="1369"/>
|
||||||
<source>About us</source>
|
<source>About us</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1369"/>
|
<location filename="../src/widget.ui" line="1376"/>
|
||||||
<source><html><head/><body><p>We are <span style=" font-weight:600;">NOT</span> the official team, just like you, we are just one of the many Linux/deepin system enthusiasts and users, we develop and run the &quot;Spark Store&quot;! &quot;, is to bring the community together to share useful software, or to participate in development together, so that we all use the latest and greatest software. </p><p>We don't make a profit from this, all developers and maintainers don't get paid, and we rely on the community's donations to us for most of our expenses, which we are grateful for and which allow us not to spend too much energy worrying about funding. </p><p>Our service and software are free for everyone to use, communicate, and learn, but you must comply with local laws and regulations in the process of your use, otherwise any problems have nothing to do with us. </p><p>If any part of the store infringes your rights, please tell us &lt;jifengshenmo@outlook.com&gt; we will remove the infringing content as soon as possible. </p><p>If you'd like to get involved with us too, whether you're involved in development, design, pitching or submitting work, we welcome you to join us. </p><p>QQ group:872690351<br/></p></body></html></source>
|
<source><html><head/><body><p>We are <span style=" font-weight:600;">NOT</span> the official team, just like you, we are just one of the many Linux/deepin system enthusiasts and users, we develop and run the &quot;Spark Store&quot;! &quot;, is to bring the community together to share useful software, or to participate in development together, so that we all use the latest and greatest software. </p><p>We don't make a profit from this, all developers and maintainers don't get paid, and we rely on the community's donations to us for most of our expenses, which we are grateful for and which allow us not to spend too much energy worrying about funding. </p><p>Our service and software are free for everyone to use, communicate, and learn, but you must comply with local laws and regulations in the process of your use, otherwise any problems have nothing to do with us. </p><p>If any part of the store infringes your rights, please tell us &lt;jifengshenmo@outlook.com&gt; we will remove the infringing content as soon as possible. </p><p>If you'd like to get involved with us too, whether you're involved in development, design, pitching or submitting work, we welcome you to join us. </p><p>QQ group:872690351<br/></p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -408,22 +413,22 @@
|
|||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="575"/>
|
<location filename="../src/widget.ui" line="536"/>
|
||||||
<source><html><head/><body><p><br/></p></body></html></source>
|
<source><html><head/><body><p><br/></p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="912"/>
|
<location filename="../src/widget.ui" line="880"/>
|
||||||
<source>Request Update</source>
|
<source>Request Update</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1194"/>
|
<location filename="../src/widget.ui" line="1201"/>
|
||||||
<source>Take effect when restart</source>
|
<source>Take effect when restart</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1334"/>
|
<location filename="../src/widget.ui" line="1341"/>
|
||||||
<source>0B</source>
|
<source>0B</source>
|
||||||
<translation type="unfinished">0B</translation>
|
<translation type="unfinished">0B</translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -468,7 +473,7 @@
|
|||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.cpp" line="656"/>
|
<location filename="../src/widget.cpp" line="656"/>
|
||||||
<location filename="../src/widget.cpp" line="895"/>
|
<location filename="../src/widget.cpp" line="897"/>
|
||||||
<source>Reinstall</source>
|
<source>Reinstall</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -478,27 +483,32 @@
|
|||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.cpp" line="900"/>
|
<location filename="../src/widget.cpp" line="887"/>
|
||||||
|
<source>Total downloads: %1</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../src/widget.cpp" line="902"/>
|
||||||
<source>Upgrade</source>
|
<source>Upgrade</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.cpp" line="1083"/>
|
<location filename="../src/widget.cpp" line="1085"/>
|
||||||
<source>Updating, please wait...</source>
|
<source>Updating, please wait...</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.cpp" line="1144"/>
|
<location filename="../src/widget.cpp" line="1146"/>
|
||||||
<source>Apt has reported an error. Please use apt update in terminal to locate the problem.</source>
|
<source>Apt has reported an error. Please use apt update in terminal to locate the problem.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.cpp" line="1151"/>
|
<location filename="../src/widget.cpp" line="1153"/>
|
||||||
<source>Unknown error!</source>
|
<source>Unknown error!</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.cpp" line="1179"/>
|
<location filename="../src/widget.cpp" line="1181"/>
|
||||||
<source>Uninstall succeeded</source>
|
<source>Uninstall succeeded</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -513,12 +523,12 @@
|
|||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.cpp" line="1201"/>
|
<location filename="../src/widget.cpp" line="1203"/>
|
||||||
<source>Temporary cache was cleaned</source>
|
<source>Temporary cache was cleaned</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.cpp" line="1283"/>
|
<location filename="../src/widget.cpp" line="1285"/>
|
||||||
<source>The URL has been copied to the clipboard</source>
|
<source>The URL has been copied to the clipboard</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
|||||||
@@ -56,47 +56,47 @@ Nous sommes nés pour le changement.</translation>
|
|||||||
<context>
|
<context>
|
||||||
<name>SpkAppInfoLoaderThread</name>
|
<name>SpkAppInfoLoaderThread</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/workerthreads.cpp" line="167"/>
|
<location filename="../src/workerthreads.cpp" line="174"/>
|
||||||
<source>Failed to download app info. Please check internet connection.</source>
|
<source>Failed to download app info. Please check internet connection.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/workerthreads.cpp" line="48"/>
|
<location filename="../src/workerthreads.cpp" line="55"/>
|
||||||
<source>PkgName: </source>
|
<source>PkgName: </source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/workerthreads.cpp" line="49"/>
|
<location filename="../src/workerthreads.cpp" line="56"/>
|
||||||
<source>Version: </source>
|
<source>Version: </source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/workerthreads.cpp" line="52"/>
|
<location filename="../src/workerthreads.cpp" line="59"/>
|
||||||
<source>Author: </source>
|
<source>Author: </source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/workerthreads.cpp" line="57"/>
|
<location filename="../src/workerthreads.cpp" line="64"/>
|
||||||
<source>Official Site: </source>
|
<source>Official Site: </source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/workerthreads.cpp" line="61"/>
|
<location filename="../src/workerthreads.cpp" line="68"/>
|
||||||
<source>Contributor: </source>
|
<source>Contributor: </source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/workerthreads.cpp" line="62"/>
|
<location filename="../src/workerthreads.cpp" line="69"/>
|
||||||
<source>Update Time: </source>
|
<source>Update Time: </source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/workerthreads.cpp" line="63"/>
|
<location filename="../src/workerthreads.cpp" line="70"/>
|
||||||
<source>Installed Size: </source>
|
<source>Installed Size: </source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/workerthreads.cpp" line="123"/>
|
<location filename="../src/workerthreads.cpp" line="130"/>
|
||||||
<source>Failed to load application icon.</source>
|
<source>Failed to load application icon.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -204,217 +204,222 @@ Nous sommes nés pour le changement.</translation>
|
|||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="547"/>
|
<location filename="../src/widget.ui" line="584"/>
|
||||||
<location filename="../src/widget.cpp" line="906"/>
|
<location filename="../src/widget.cpp" line="908"/>
|
||||||
<location filename="../src/widget.cpp" line="1175"/>
|
<location filename="../src/widget.cpp" line="1177"/>
|
||||||
<source>Install</source>
|
<source>Install</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="560"/>
|
<location filename="../src/widget.ui" line="681"/>
|
||||||
<source>Name</source>
|
<source>Name</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="606"/>
|
<location filename="../src/widget.ui" line="636"/>
|
||||||
<source>ICON</source>
|
<source>ICON</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="661"/>
|
<location filename="../src/widget.ui" line="591"/>
|
||||||
<source>Uninstall</source>
|
<source>Uninstall</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="677"/>
|
<location filename="../src/widget.ui" line="577"/>
|
||||||
<source>Site</source>
|
<source>Site</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="716"/>
|
<location filename="../src/widget.ui" line="614"/>
|
||||||
<source>Share</source>
|
<source>Share</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="750"/>
|
<location filename="../src/widget.ui" line="718"/>
|
||||||
<location filename="../src/widget.ui" line="753"/>
|
<location filename="../src/widget.ui" line="721"/>
|
||||||
<source><html><head/><body><p>This app is developed by community user,we give this tag to honor those who contribute to the Linux Ecology</p></body></html></source>
|
<source><html><head/><body><p>This app is developed by community user,we give this tag to honor those who contribute to the Linux Ecology</p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="756"/>
|
<location filename="../src/widget.ui" line="724"/>
|
||||||
<source><html><head/><body><p><img src=":/tags/community-small.png"/></p></body></html></source>
|
<source><html><head/><body><p><img src=":/tags/community-small.png"/></p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="769"/>
|
<location filename="../src/widget.ui" line="737"/>
|
||||||
<location filename="../src/widget.ui" line="772"/>
|
<location filename="../src/widget.ui" line="740"/>
|
||||||
<source><html><head/><body><p>Capable to Ubuntu 22.04</p></body></html></source>
|
<source><html><head/><body><p>Capable to Ubuntu 22.04</p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="775"/>
|
<location filename="../src/widget.ui" line="743"/>
|
||||||
<source><html><head/><body><p><img src=":/tags/ubuntu-small.png"/></p></body></html></source>
|
<source><html><head/><body><p><img src=":/tags/ubuntu-small.png"/></p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="788"/>
|
<location filename="../src/widget.ui" line="756"/>
|
||||||
<location filename="../src/widget.ui" line="791"/>
|
<location filename="../src/widget.ui" line="759"/>
|
||||||
<source><html><head/><body><p>Capable to deepin 20</p></body></html></source>
|
<source><html><head/><body><p>Capable to deepin 20</p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="794"/>
|
<location filename="../src/widget.ui" line="762"/>
|
||||||
<source><html><head/><body><p><img src=":/tags/deepin-small.png"/></p></body></html></source>
|
<source><html><head/><body><p><img src=":/tags/deepin-small.png"/></p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="807"/>
|
<location filename="../src/widget.ui" line="775"/>
|
||||||
<location filename="../src/widget.ui" line="810"/>
|
<location filename="../src/widget.ui" line="778"/>
|
||||||
<source><html><head/><body><p>Capable to UOS home 20</p></body></html></source>
|
<source><html><head/><body><p>Capable to UOS home 20</p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="813"/>
|
<location filename="../src/widget.ui" line="781"/>
|
||||||
<source><html><head/><body><p><img src=":/tags/uos-small.png"/></p></body></html></source>
|
<source><html><head/><body><p><img src=":/tags/uos-small.png"/></p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="826"/>
|
<location filename="../src/widget.ui" line="794"/>
|
||||||
<location filename="../src/widget.ui" line="829"/>
|
<location filename="../src/widget.ui" line="797"/>
|
||||||
<source><html><head/><body><p>This is a DTK5 app,which means it would have better effect on Deepin Desktop Environment</p></body></html></source>
|
<source><html><head/><body><p>This is a DTK5 app,which means it would have better effect on Deepin Desktop Environment</p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="832"/>
|
<location filename="../src/widget.ui" line="800"/>
|
||||||
<source><html><head/><body><p><img src=":/tags/dtk-small.png"/></p></body></html></source>
|
<source><html><head/><body><p><img src=":/tags/dtk-small.png"/></p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="845"/>
|
<location filename="../src/widget.ui" line="813"/>
|
||||||
<location filename="../src/widget.ui" line="848"/>
|
<location filename="../src/widget.ui" line="816"/>
|
||||||
<source><html><head/><body><p>A deepin-wine2 app.If you are using ubuntu or other non-deepin distro,you should deploy deepin-wine2 by your self.</p></body></html></source>
|
<source><html><head/><body><p>A deepin-wine2 app.If you are using ubuntu or other non-deepin distro,you should deploy deepin-wine2 by your self.</p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="851"/>
|
<location filename="../src/widget.ui" line="819"/>
|
||||||
<source><html><head/><body><p><img src=":/tags/dwine2-small.png"/></p></body></html></source>
|
<source><html><head/><body><p><img src=":/tags/dwine2-small.png"/></p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="864"/>
|
<location filename="../src/widget.ui" line="832"/>
|
||||||
<location filename="../src/widget.ui" line="867"/>
|
<location filename="../src/widget.ui" line="835"/>
|
||||||
<source><html><head/><body><p>A deepin-wine5 app.If you are using ubuntu or other non-deepin distro,you should deploy deepin-wine5 by your self.</p></body></html></source>
|
<source><html><head/><body><p>A deepin-wine5 app.If you are using ubuntu or other non-deepin distro,you should deploy deepin-wine5 by your self.</p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="870"/>
|
<location filename="../src/widget.ui" line="838"/>
|
||||||
<source><html><head/><body><p><img src=":/tags/dwine5-small.png"/></p></body></html></source>
|
<source><html><head/><body><p><img src=":/tags/dwine5-small.png"/></p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="883"/>
|
<location filename="../src/widget.ui" line="851"/>
|
||||||
<location filename="../src/widget.ui" line="886"/>
|
<location filename="../src/widget.ui" line="854"/>
|
||||||
<source><html><head/><body><p>An Appimage to deb app.</p></body></html></source>
|
<source><html><head/><body><p>An Appimage to deb app.</p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="889"/>
|
<location filename="../src/widget.ui" line="857"/>
|
||||||
<source><html><head/><body><p><img src=":/tags/a2d-small.png"/></p></body></html></source>
|
<source><html><head/><body><p><img src=":/tags/a2d-small.png"/></p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="912"/>
|
<location filename="../src/widget.ui" line="880"/>
|
||||||
<source>Request Update</source>
|
<source>Request Update</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="930"/>
|
<location filename="../src/widget.ui" line="919"/>
|
||||||
<source>Info</source>
|
<source>Total downloads</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="937"/>
|
<location filename="../src/widget.ui" line="937"/>
|
||||||
|
<source>Info</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../src/widget.ui" line="944"/>
|
||||||
<source><html><head/><body><p>An app store developed by community enthusiasts</p></body></html></source>
|
<source><html><head/><body><p>An app store developed by community enthusiasts</p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="979"/>
|
<location filename="../src/widget.ui" line="986"/>
|
||||||
<source>Screenshots</source>
|
<source>Screenshots</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1142"/>
|
<location filename="../src/widget.ui" line="1149"/>
|
||||||
<source>Line Settings</source>
|
<source>Line Settings</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1158"/>
|
<location filename="../src/widget.ui" line="1165"/>
|
||||||
<source>Choose Line:</source>
|
<source>Choose Line:</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1181"/>
|
<location filename="../src/widget.ui" line="1188"/>
|
||||||
<source>Refresh</source>
|
<source>Refresh</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1194"/>
|
<location filename="../src/widget.ui" line="1201"/>
|
||||||
<source>Take effect when restart</source>
|
<source>Take effect when restart</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1223"/>
|
<location filename="../src/widget.ui" line="1230"/>
|
||||||
<source><html><head/><body><p>The role of the source server is to ensure that the software is updated, and supports the use of the apt tool to get the software. We usually prefer that you use the first line as the update source, which is generally the most stable. </p></body></html></source>
|
<source><html><head/><body><p>The role of the source server is to ensure that the software is updated, and supports the use of the apt tool to get the software. We usually prefer that you use the first line as the update source, which is generally the most stable. </p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1233"/>
|
<location filename="../src/widget.ui" line="1240"/>
|
||||||
<source>Update</source>
|
<source>Update</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1240"/>
|
<location filename="../src/widget.ui" line="1247"/>
|
||||||
<source>Source Server</source>
|
<source>Source Server</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1260"/>
|
<location filename="../src/widget.ui" line="1267"/>
|
||||||
<source>Server</source>
|
<source>Server</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1281"/>
|
<location filename="../src/widget.ui" line="1288"/>
|
||||||
<source>Temp</source>
|
<source>Temp</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1304"/>
|
<location filename="../src/widget.ui" line="1311"/>
|
||||||
<source>Clean</source>
|
<source>Clean</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1314"/>
|
<location filename="../src/widget.ui" line="1321"/>
|
||||||
<source>Since the dictionary is at /tmp,It would be cleaned automatically when system reboot.</source>
|
<source>Since the dictionary is at /tmp,It would be cleaned automatically when system reboot.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1327"/>
|
<location filename="../src/widget.ui" line="1334"/>
|
||||||
<source>Size:</source>
|
<source>Size:</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1341"/>
|
<location filename="../src/widget.ui" line="1348"/>
|
||||||
<source>Location:/tmp/spark-store</source>
|
<source>Location:/tmp/spark-store</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1362"/>
|
<location filename="../src/widget.ui" line="1369"/>
|
||||||
<source>About us</source>
|
<source>About us</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1369"/>
|
<location filename="../src/widget.ui" line="1376"/>
|
||||||
<source><html><head/><body><p>We are <span style=" font-weight:600;">NOT</span> the official team, just like you, we are just one of the many Linux/deepin system enthusiasts and users, we develop and run the &quot;Spark Store&quot;! &quot;, is to bring the community together to share useful software, or to participate in development together, so that we all use the latest and greatest software. </p><p>We don't make a profit from this, all developers and maintainers don't get paid, and we rely on the community's donations to us for most of our expenses, which we are grateful for and which allow us not to spend too much energy worrying about funding. </p><p>Our service and software are free for everyone to use, communicate, and learn, but you must comply with local laws and regulations in the process of your use, otherwise any problems have nothing to do with us. </p><p>If any part of the store infringes your rights, please tell us &lt;jifengshenmo@outlook.com&gt; we will remove the infringing content as soon as possible. </p><p>If you'd like to get involved with us too, whether you're involved in development, design, pitching or submitting work, we welcome you to join us. </p><p>QQ group:872690351<br/></p></body></html></source>
|
<source><html><head/><body><p>We are <span style=" font-weight:600;">NOT</span> the official team, just like you, we are just one of the many Linux/deepin system enthusiasts and users, we develop and run the &quot;Spark Store&quot;! &quot;, is to bring the community together to share useful software, or to participate in development together, so that we all use the latest and greatest software. </p><p>We don't make a profit from this, all developers and maintainers don't get paid, and we rely on the community's donations to us for most of our expenses, which we are grateful for and which allow us not to spend too much energy worrying about funding. </p><p>Our service and software are free for everyone to use, communicate, and learn, but you must comply with local laws and regulations in the process of your use, otherwise any problems have nothing to do with us. </p><p>If any part of the store infringes your rights, please tell us &lt;jifengshenmo@outlook.com&gt; we will remove the infringing content as soon as possible. </p><p>If you'd like to get involved with us too, whether you're involved in development, design, pitching or submitting work, we welcome you to join us. </p><p>QQ group:872690351<br/></p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -511,7 +516,7 @@ Nous sommes nés pour le changement.</translation>
|
|||||||
<translation type="vanished">Nom</translation>
|
<translation type="vanished">Nom</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="575"/>
|
<location filename="../src/widget.ui" line="536"/>
|
||||||
<source><html><head/><body><p><br/></p></body></html></source>
|
<source><html><head/><body><p><br/></p></body></html></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -584,7 +589,7 @@ Nous sommes nés pour le changement.</translation>
|
|||||||
<translation type="vanished">Taille: </translation>
|
<translation type="vanished">Taille: </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1334"/>
|
<location filename="../src/widget.ui" line="1341"/>
|
||||||
<source>0B</source>
|
<source>0B</source>
|
||||||
<translation type="unfinished">0B</translation>
|
<translation type="unfinished">0B</translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -641,7 +646,7 @@ Nous sommes nés pour le changement.</translation>
|
|||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.cpp" line="656"/>
|
<location filename="../src/widget.cpp" line="656"/>
|
||||||
<location filename="../src/widget.cpp" line="895"/>
|
<location filename="../src/widget.cpp" line="897"/>
|
||||||
<source>Reinstall</source>
|
<source>Reinstall</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -661,37 +666,42 @@ Nous sommes nés pour le changement.</translation>
|
|||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.cpp" line="900"/>
|
<location filename="../src/widget.cpp" line="887"/>
|
||||||
|
<source>Total downloads: %1</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../src/widget.cpp" line="902"/>
|
||||||
<source>Upgrade</source>
|
<source>Upgrade</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.cpp" line="1083"/>
|
<location filename="../src/widget.cpp" line="1085"/>
|
||||||
<source>Updating, please wait...</source>
|
<source>Updating, please wait...</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.cpp" line="1144"/>
|
<location filename="../src/widget.cpp" line="1146"/>
|
||||||
<source>Apt has reported an error. Please use apt update in terminal to locate the problem.</source>
|
<source>Apt has reported an error. Please use apt update in terminal to locate the problem.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.cpp" line="1151"/>
|
<location filename="../src/widget.cpp" line="1153"/>
|
||||||
<source>Unknown error!</source>
|
<source>Unknown error!</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.cpp" line="1179"/>
|
<location filename="../src/widget.cpp" line="1181"/>
|
||||||
<source>Uninstall succeeded</source>
|
<source>Uninstall succeeded</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.cpp" line="1201"/>
|
<location filename="../src/widget.cpp" line="1203"/>
|
||||||
<source>Temporary cache was cleaned</source>
|
<source>Temporary cache was cleaned</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.cpp" line="1283"/>
|
<location filename="../src/widget.cpp" line="1285"/>
|
||||||
<source>The URL has been copied to the clipboard</source>
|
<source>The URL has been copied to the clipboard</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../src/main.cpp" line="37"/>
|
<location filename="../src/main.cpp" line="37"/>
|
||||||
<source><span style=' font-size:10pt;font-weight:60;'>An appstore powered by community</span><br/><a href='https://www.spark-app.store/'>https://www.spark-app.store</a><br/><span style=' font-size:12pt;'>Spark developers</span></source>
|
<source><span style=' font-size:10pt;font-weight:60;'>An appstore powered by community</span><br/><a href='https://www.spark-app.store/'>https://www.spark-app.store</a><br/><span style=' font-size:12pt;'>Spark developers</span></source>
|
||||||
<translation type="unfinished"><span style=' font-size:10pt;font-weight:60;'>一款社区维护的应用商店</span><br/><a href='https://www.spark-app.store/'>https://www.spark-app.store</a><br/><span style=' font-size:12pt;'>星火计划开发者</span></translation>
|
<translation><span style=' font-size:10pt;font-weight:60;'>一款社区维护的应用商店</span><br/><a href='https://www.spark-app.store/'>https://www.spark-app.store</a><br/><span style=' font-size:12pt;'>星火计划开发者</span></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Version 2.0+2</source>
|
<source>Version 2.0+2</source>
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../src/main.cpp" line="45"/>
|
<location filename="../src/main.cpp" line="45"/>
|
||||||
<source>The Spark Project</source>
|
<source>The Spark Project</source>
|
||||||
<translation type="unfinished">星火计划 The Spark Project</translation>
|
<translation>星火计划 The Spark Project</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source><span style=' font-size:10pt;font-weight:60;'>An appstore powered by deepin community</span><br/><a href='https://www.spark-app.store/'>https://www.spark-app.store</a><br/><span style=' font-size:12pt;'>Spark developers</span><br/>We publish this program under GPL V3</source>
|
<source><span style=' font-size:10pt;font-weight:60;'>An appstore powered by deepin community</span><br/><a href='https://www.spark-app.store/'>https://www.spark-app.store</a><br/><span style=' font-size:12pt;'>Spark developers</span><br/>We publish this program under GPL V3</source>
|
||||||
@@ -57,47 +57,47 @@
|
|||||||
<context>
|
<context>
|
||||||
<name>SpkAppInfoLoaderThread</name>
|
<name>SpkAppInfoLoaderThread</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/workerthreads.cpp" line="167"/>
|
<location filename="../src/workerthreads.cpp" line="174"/>
|
||||||
<source>Failed to download app info. Please check internet connection.</source>
|
<source>Failed to download app info. Please check internet connection.</source>
|
||||||
<translation>下载应用程序详细信息失败,请检查网络连接。</translation>
|
<translation>下载应用程序详细信息失败,请检查网络连接。</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/workerthreads.cpp" line="48"/>
|
<location filename="../src/workerthreads.cpp" line="55"/>
|
||||||
<source>PkgName: </source>
|
<source>PkgName: </source>
|
||||||
<translation>包名: </translation>
|
<translation>包名: </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/workerthreads.cpp" line="49"/>
|
<location filename="../src/workerthreads.cpp" line="56"/>
|
||||||
<source>Version: </source>
|
<source>Version: </source>
|
||||||
<translation>版本: </translation>
|
<translation>版本: </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/workerthreads.cpp" line="52"/>
|
<location filename="../src/workerthreads.cpp" line="59"/>
|
||||||
<source>Author: </source>
|
<source>Author: </source>
|
||||||
<translation>作者: </translation>
|
<translation>作者: </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/workerthreads.cpp" line="57"/>
|
<location filename="../src/workerthreads.cpp" line="64"/>
|
||||||
<source>Official Site: </source>
|
<source>Official Site: </source>
|
||||||
<translation>官网: </translation>
|
<translation>官网: </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/workerthreads.cpp" line="61"/>
|
<location filename="../src/workerthreads.cpp" line="68"/>
|
||||||
<source>Contributor: </source>
|
<source>Contributor: </source>
|
||||||
<translation>投稿者: </translation>
|
<translation>投稿者: </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/workerthreads.cpp" line="62"/>
|
<location filename="../src/workerthreads.cpp" line="69"/>
|
||||||
<source>Update Time: </source>
|
<source>Update Time: </source>
|
||||||
<translation>更新时间: </translation>
|
<translation>更新时间: </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/workerthreads.cpp" line="63"/>
|
<location filename="../src/workerthreads.cpp" line="70"/>
|
||||||
<source>Installed Size: </source>
|
<source>Installed Size: </source>
|
||||||
<translation>大小: </translation>
|
<translation>大小: </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/workerthreads.cpp" line="123"/>
|
<location filename="../src/workerthreads.cpp" line="130"/>
|
||||||
<source>Failed to load application icon.</source>
|
<source>Failed to load application icon.</source>
|
||||||
<translation>加载应用程序图标失败。</translation>
|
<translation>加载应用程序图标失败。</translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -188,19 +188,19 @@
|
|||||||
<translation>打开下载文件夹</translation>
|
<translation>打开下载文件夹</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="560"/>
|
<location filename="../src/widget.ui" line="681"/>
|
||||||
<source>Name</source>
|
<source>Name</source>
|
||||||
<translation>软件名</translation>
|
<translation>软件名</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="606"/>
|
<location filename="../src/widget.ui" line="636"/>
|
||||||
<source>ICON</source>
|
<source>ICON</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="547"/>
|
<location filename="../src/widget.ui" line="584"/>
|
||||||
<location filename="../src/widget.cpp" line="906"/>
|
<location filename="../src/widget.cpp" line="908"/>
|
||||||
<location filename="../src/widget.cpp" line="1175"/>
|
<location filename="../src/widget.cpp" line="1177"/>
|
||||||
<source>Install</source>
|
<source>Install</source>
|
||||||
<translation>安装</translation>
|
<translation>安装</translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -225,79 +225,79 @@
|
|||||||
<translation>社交沟通</translation>
|
<translation>社交沟通</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="661"/>
|
<location filename="../src/widget.ui" line="591"/>
|
||||||
<source>Uninstall</source>
|
<source>Uninstall</source>
|
||||||
<translation>卸载</translation>
|
<translation>卸载</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="677"/>
|
<location filename="../src/widget.ui" line="577"/>
|
||||||
<source>Site</source>
|
<source>Site</source>
|
||||||
<translation>官网</translation>
|
<translation>官网</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="750"/>
|
<location filename="../src/widget.ui" line="718"/>
|
||||||
<location filename="../src/widget.ui" line="753"/>
|
<location filename="../src/widget.ui" line="721"/>
|
||||||
<source><html><head/><body><p>This app is developed by community user,we give this tag to honor those who contribute to the Linux Ecology</p></body></html></source>
|
<source><html><head/><body><p>This app is developed by community user,we give this tag to honor those who contribute to the Linux Ecology</p></body></html></source>
|
||||||
<translation><html><head/><body><p>这款应用是社区开发者开发的,我们为社区开发者颁发这款勋章以表彰他们对Linux生态的贡献</p></body></html></translation>
|
<translation><html><head/><body><p>这款应用是社区开发者开发的,我们为社区开发者颁发这款勋章以表彰他们对Linux生态的贡献</p></body></html></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="756"/>
|
<location filename="../src/widget.ui" line="724"/>
|
||||||
<source><html><head/><body><p><img src=":/tags/community-small.png"/></p></body></html></source>
|
<source><html><head/><body><p><img src=":/tags/community-small.png"/></p></body></html></source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="769"/>
|
<location filename="../src/widget.ui" line="737"/>
|
||||||
<location filename="../src/widget.ui" line="772"/>
|
<location filename="../src/widget.ui" line="740"/>
|
||||||
<source><html><head/><body><p>Capable to Ubuntu 22.04</p></body></html></source>
|
<source><html><head/><body><p>Capable to Ubuntu 22.04</p></body></html></source>
|
||||||
<translation><html><head/><body><p>支持Ubuntu 22.04</p></body></html></translation>
|
<translation><html><head/><body><p>支持Ubuntu 22.04</p></body></html></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="788"/>
|
<location filename="../src/widget.ui" line="756"/>
|
||||||
<location filename="../src/widget.ui" line="791"/>
|
<location filename="../src/widget.ui" line="759"/>
|
||||||
<source><html><head/><body><p>Capable to deepin 20</p></body></html></source>
|
<source><html><head/><body><p>Capable to deepin 20</p></body></html></source>
|
||||||
<translation><html><head/><body><p>支持deepin 20</p></body></html></translation>
|
<translation><html><head/><body><p>支持deepin 20</p></body></html></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="794"/>
|
<location filename="../src/widget.ui" line="762"/>
|
||||||
<source><html><head/><body><p><img src=":/tags/deepin-small.png"/></p></body></html></source>
|
<source><html><head/><body><p><img src=":/tags/deepin-small.png"/></p></body></html></source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="807"/>
|
<location filename="../src/widget.ui" line="775"/>
|
||||||
<location filename="../src/widget.ui" line="810"/>
|
<location filename="../src/widget.ui" line="778"/>
|
||||||
<source><html><head/><body><p>Capable to UOS home 20</p></body></html></source>
|
<source><html><head/><body><p>Capable to UOS home 20</p></body></html></source>
|
||||||
<translation><html><head/><body><p>支持UOS家庭版 20</p></body></html></translation>
|
<translation><html><head/><body><p>支持UOS家庭版 20</p></body></html></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="826"/>
|
<location filename="../src/widget.ui" line="794"/>
|
||||||
<location filename="../src/widget.ui" line="829"/>
|
<location filename="../src/widget.ui" line="797"/>
|
||||||
<source><html><head/><body><p>This is a DTK5 app,which means it would have better effect on Deepin Desktop Environment</p></body></html></source>
|
<source><html><head/><body><p>This is a DTK5 app,which means it would have better effect on Deepin Desktop Environment</p></body></html></source>
|
||||||
<translation><html><head/><body><p>这是一款DTK5应用,请使用深度桌面环境来获得最完美的体验</p></body></html></translation>
|
<translation><html><head/><body><p>这是一款DTK5应用,请使用深度桌面环境来获得最完美的体验</p></body></html></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="832"/>
|
<location filename="../src/widget.ui" line="800"/>
|
||||||
<source><html><head/><body><p><img src=":/tags/dtk-small.png"/></p></body></html></source>
|
<source><html><head/><body><p><img src=":/tags/dtk-small.png"/></p></body></html></source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="864"/>
|
<location filename="../src/widget.ui" line="832"/>
|
||||||
<location filename="../src/widget.ui" line="867"/>
|
<location filename="../src/widget.ui" line="835"/>
|
||||||
<source><html><head/><body><p>A deepin-wine5 app.If you are using ubuntu or other non-deepin distro,you should deploy deepin-wine5 by your self.</p></body></html></source>
|
<source><html><head/><body><p>A deepin-wine5 app.If you are using ubuntu or other non-deepin distro,you should deploy deepin-wine5 by your self.</p></body></html></source>
|
||||||
<translation><html><head/><body><p>这是一款deepin-wine5应用,如果你并没有在使用深度系列发行版(比如您在使用ubuntu),你需要自行配置deepin-wine5环境</p></body></html></translation>
|
<translation><html><head/><body><p>这是一款deepin-wine5应用,如果你并没有在使用深度系列发行版(比如您在使用ubuntu),你需要自行配置deepin-wine5环境</p></body></html></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="883"/>
|
<location filename="../src/widget.ui" line="851"/>
|
||||||
<location filename="../src/widget.ui" line="886"/>
|
<location filename="../src/widget.ui" line="854"/>
|
||||||
<source><html><head/><body><p>An Appimage to deb app.</p></body></html></source>
|
<source><html><head/><body><p>An Appimage to deb app.</p></body></html></source>
|
||||||
<translation><html><head/><body><p>这是一款Appimage转制应用.</p></body></html></translation>
|
<translation><html><head/><body><p>这是一款Appimage转制应用.</p></body></html></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="889"/>
|
<location filename="../src/widget.ui" line="857"/>
|
||||||
<source><html><head/><body><p><img src=":/tags/a2d-small.png"/></p></body></html></source>
|
<source><html><head/><body><p><img src=":/tags/a2d-small.png"/></p></body></html></source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="716"/>
|
<location filename="../src/widget.ui" line="614"/>
|
||||||
<source>Share</source>
|
<source>Share</source>
|
||||||
<translation>Spk分享链接</translation>
|
<translation>Spk分享链接</translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -320,18 +320,18 @@
|
|||||||
<translation type="vanished">社交沟通</translation>
|
<translation type="vanished">社交沟通</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="845"/>
|
<location filename="../src/widget.ui" line="813"/>
|
||||||
<location filename="../src/widget.ui" line="848"/>
|
<location filename="../src/widget.ui" line="816"/>
|
||||||
<source><html><head/><body><p>A deepin-wine2 app.If you are using ubuntu or other non-deepin distro,you should deploy deepin-wine2 by your self.</p></body></html></source>
|
<source><html><head/><body><p>A deepin-wine2 app.If you are using ubuntu or other non-deepin distro,you should deploy deepin-wine2 by your self.</p></body></html></source>
|
||||||
<translation><html><head/><body><p>这是一款 deepin-wine2 应用,如果你并没有在使用深度系列发行版(比如您在使用ubuntu),你需要自行配置 deepin-wine2 环境</p></body></html></translation>
|
<translation><html><head/><body><p>这是一款 deepin-wine2 应用,如果你并没有在使用深度系列发行版(比如您在使用ubuntu),你需要自行配置 deepin-wine2 环境</p></body></html></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="851"/>
|
<location filename="../src/widget.ui" line="819"/>
|
||||||
<source><html><head/><body><p><img src=":/tags/dwine2-small.png"/></p></body></html></source>
|
<source><html><head/><body><p><img src=":/tags/dwine2-small.png"/></p></body></html></source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="870"/>
|
<location filename="../src/widget.ui" line="838"/>
|
||||||
<source><html><head/><body><p><img src=":/tags/dwine5-small.png"/></p></body></html></source>
|
<source><html><head/><body><p><img src=":/tags/dwine5-small.png"/></p></body></html></source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -340,32 +340,32 @@
|
|||||||
<translation type="vanished">贡献翻译/应用反馈</translation>
|
<translation type="vanished">贡献翻译/应用反馈</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="930"/>
|
<location filename="../src/widget.ui" line="937"/>
|
||||||
<source>Info</source>
|
<source>Info</source>
|
||||||
<translation>详细</translation>
|
<translation>详细</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="937"/>
|
<location filename="../src/widget.ui" line="944"/>
|
||||||
<source><html><head/><body><p>An app store developed by community enthusiasts</p></body></html></source>
|
<source><html><head/><body><p>An app store developed by community enthusiasts</p></body></html></source>
|
||||||
<translation><html><head/><body><p>由社区爱好者开发的一款应用商店</p></body></html></translation>
|
<translation><html><head/><body><p>由社区爱好者开发的一款应用商店</p></body></html></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="979"/>
|
<location filename="../src/widget.ui" line="986"/>
|
||||||
<source>Screenshots</source>
|
<source>Screenshots</source>
|
||||||
<translation>屏幕截图</translation>
|
<translation>屏幕截图</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1142"/>
|
<location filename="../src/widget.ui" line="1149"/>
|
||||||
<source>Line Settings</source>
|
<source>Line Settings</source>
|
||||||
<translation>线路设置</translation>
|
<translation>线路设置</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1158"/>
|
<location filename="../src/widget.ui" line="1165"/>
|
||||||
<source>Choose Line:</source>
|
<source>Choose Line:</source>
|
||||||
<translation>线路选择:</translation>
|
<translation>线路选择:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1181"/>
|
<location filename="../src/widget.ui" line="1188"/>
|
||||||
<source>Refresh</source>
|
<source>Refresh</source>
|
||||||
<translation>刷新</translation>
|
<translation>刷新</translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -374,57 +374,57 @@
|
|||||||
<translation type="vanished">重启商店后生效</translation>
|
<translation type="vanished">重启商店后生效</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1223"/>
|
<location filename="../src/widget.ui" line="1230"/>
|
||||||
<source><html><head/><body><p>The role of the source server is to ensure that the software is updated, and supports the use of the apt tool to get the software. We usually prefer that you use the first line as the update source, which is generally the most stable. </p></body></html></source>
|
<source><html><head/><body><p>The role of the source server is to ensure that the software is updated, and supports the use of the apt tool to get the software. We usually prefer that you use the first line as the update source, which is generally the most stable. </p></body></html></source>
|
||||||
<translation><html><head/><body><p>源服务器的作用是保证软件更新,并且支持使用apt工具获取软件。通常我们更建议你使用第一个线路作为更新源,一般是最稳定的。</p></body></html></translation>
|
<translation><html><head/><body><p>源服务器的作用是保证软件更新,并且支持使用apt工具获取软件。通常我们更建议你使用第一个线路作为更新源,一般是最稳定的。</p></body></html></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1233"/>
|
<location filename="../src/widget.ui" line="1240"/>
|
||||||
<source>Update</source>
|
<source>Update</source>
|
||||||
<translation>更新源</translation>
|
<translation>更新源</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1240"/>
|
<location filename="../src/widget.ui" line="1247"/>
|
||||||
<source>Source Server</source>
|
<source>Source Server</source>
|
||||||
<translation>更新源服务器</translation>
|
<translation>更新源服务器</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1260"/>
|
<location filename="../src/widget.ui" line="1267"/>
|
||||||
<source>Server</source>
|
<source>Server</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1281"/>
|
<location filename="../src/widget.ui" line="1288"/>
|
||||||
<source>Temp</source>
|
<source>Temp</source>
|
||||||
<translation>缓存目录</translation>
|
<translation>缓存目录</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1304"/>
|
<location filename="../src/widget.ui" line="1311"/>
|
||||||
<source>Clean</source>
|
<source>Clean</source>
|
||||||
<translation>清空</translation>
|
<translation>清空</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1314"/>
|
<location filename="../src/widget.ui" line="1321"/>
|
||||||
<source>Since the dictionary is at /tmp,It would be cleaned automatically when system reboot.</source>
|
<source>Since the dictionary is at /tmp,It would be cleaned automatically when system reboot.</source>
|
||||||
<translation>因为这个目录位于/tmp下,所以即使你不手动清空的话,其也将在系统重启时自动清空。</translation>
|
<translation>因为这个目录位于/tmp下,所以即使你不手动清空的话,其也将在系统重启时自动清空。</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1327"/>
|
<location filename="../src/widget.ui" line="1334"/>
|
||||||
<source>Size:</source>
|
<source>Size:</source>
|
||||||
<translation>目录大小:</translation>
|
<translation>目录大小:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1341"/>
|
<location filename="../src/widget.ui" line="1348"/>
|
||||||
<source>Location:/tmp/spark-store</source>
|
<source>Location:/tmp/spark-store</source>
|
||||||
<translation>目录位置:/tmp/spark-store</translation>
|
<translation>目录位置:/tmp/spark-store</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1362"/>
|
<location filename="../src/widget.ui" line="1369"/>
|
||||||
<source>About us</source>
|
<source>About us</source>
|
||||||
<translation>关于我们</translation>
|
<translation>关于我们</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1369"/>
|
<location filename="../src/widget.ui" line="1376"/>
|
||||||
<source><html><head/><body><p>We are <span style=" font-weight:600;">NOT</span> the official team, just like you, we are just one of the many Linux/deepin system enthusiasts and users, we develop and run the &quot;Spark Store&quot;! &quot;, is to bring the community together to share useful software, or to participate in development together, so that we all use the latest and greatest software. </p><p>We don't make a profit from this, all developers and maintainers don't get paid, and we rely on the community's donations to us for most of our expenses, which we are grateful for and which allow us not to spend too much energy worrying about funding. </p><p>Our service and software are free for everyone to use, communicate, and learn, but you must comply with local laws and regulations in the process of your use, otherwise any problems have nothing to do with us. </p><p>If any part of the store infringes your rights, please tell us &lt;jifengshenmo@outlook.com&gt; we will remove the infringing content as soon as possible. </p><p>If you'd like to get involved with us too, whether you're involved in development, design, pitching or submitting work, we welcome you to join us. </p><p>QQ group:872690351<br/></p></body></html></source>
|
<source><html><head/><body><p>We are <span style=" font-weight:600;">NOT</span> the official team, just like you, we are just one of the many Linux/deepin system enthusiasts and users, we develop and run the &quot;Spark Store&quot;! &quot;, is to bring the community together to share useful software, or to participate in development together, so that we all use the latest and greatest software. </p><p>We don't make a profit from this, all developers and maintainers don't get paid, and we rely on the community's donations to us for most of our expenses, which we are grateful for and which allow us not to spend too much energy worrying about funding. </p><p>Our service and software are free for everyone to use, communicate, and learn, but you must comply with local laws and regulations in the process of your use, otherwise any problems have nothing to do with us. </p><p>If any part of the store infringes your rights, please tell us &lt;jifengshenmo@outlook.com&gt; we will remove the infringing content as soon as possible. </p><p>If you'd like to get involved with us too, whether you're involved in development, design, pitching or submitting work, we welcome you to join us. </p><p>QQ group:872690351<br/></p></body></html></source>
|
||||||
<translation><html><head/><body><p>我们并<span style=" font-weight:600;">不是</span>官方团队,和你一样,我们也只是众多Linux/deepin系统爱好者和用户之中的一员,我们开发并且运营这个“Spark应用商店”,是为了让社区的朋友们一起分享好用的软件,或者一起参与开发,让大家都用到最新的,最优秀的软件。</p><p>我们并没有因此盈利,所有开发和维护人员都不会获得报酬,我们的主要支出大部分依赖于社区对我们的捐助,很感谢大家,这部分捐助让我们并不需要耗费太多精力去担心资金问题。</p><p>我们的服务和开发的软件都是免费供给大家使用,交流,学习的,但是在您的使用过程中一定要遵守当地的法律法规,否则出现任何问题和我们无关。</p><p>如果商店中任何一部分有侵犯您权益的行为,请告知我们 &lt;jifengshenmo@outlook.com&gt;,我们会第一时间删除侵权内容。</p><p>如果你也想参与我们,不管是参与开发,设计,投递还是投稿作品,我们都欢迎你的加入。</p><p>QQ 群:872690351<br/></p></body></html></translation>
|
<translation><html><head/><body><p>我们并<span style=" font-weight:600;">不是</span>官方团队,和你一样,我们也只是众多Linux/deepin系统爱好者和用户之中的一员,我们开发并且运营这个“Spark应用商店”,是为了让社区的朋友们一起分享好用的软件,或者一起参与开发,让大家都用到最新的,最优秀的软件。</p><p>我们并没有因此盈利,所有开发和维护人员都不会获得报酬,我们的主要支出大部分依赖于社区对我们的捐助,很感谢大家,这部分捐助让我们并不需要耗费太多精力去担心资金问题。</p><p>我们的服务和开发的软件都是免费供给大家使用,交流,学习的,但是在您的使用过程中一定要遵守当地的法律法规,否则出现任何问题和我们无关。</p><p>如果商店中任何一部分有侵犯您权益的行为,请告知我们 &lt;jifengshenmo@outlook.com&gt;,我们会第一时间删除侵权内容。</p><p>如果你也想参与我们,不管是参与开发,设计,投递还是投稿作品,我们都欢迎你的加入。</p><p>QQ 群:872690351<br/></p></body></html></translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -454,32 +454,37 @@
|
|||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="575"/>
|
<location filename="../src/widget.ui" line="536"/>
|
||||||
<source><html><head/><body><p><br/></p></body></html></source>
|
<source><html><head/><body><p><br/></p></body></html></source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="775"/>
|
<location filename="../src/widget.ui" line="743"/>
|
||||||
<source><html><head/><body><p><img src=":/tags/ubuntu-small.png"/></p></body></html></source>
|
<source><html><head/><body><p><img src=":/tags/ubuntu-small.png"/></p></body></html></source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="813"/>
|
<location filename="../src/widget.ui" line="781"/>
|
||||||
<source><html><head/><body><p><img src=":/tags/uos-small.png"/></p></body></html></source>
|
<source><html><head/><body><p><img src=":/tags/uos-small.png"/></p></body></html></source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="912"/>
|
<location filename="../src/widget.ui" line="880"/>
|
||||||
<source>Request Update</source>
|
<source>Request Update</source>
|
||||||
<translation type="unfinished">软件催更/应用反馈</translation>
|
<translation>软件催更/应用反馈</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1194"/>
|
<location filename="../src/widget.ui" line="919"/>
|
||||||
|
<source>Total downloads</source>
|
||||||
|
<translation>总下载量</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../src/widget.ui" line="1201"/>
|
||||||
<source>Take effect when restart</source>
|
<source>Take effect when restart</source>
|
||||||
<translation>重启商店后生效</translation>
|
<translation>重启商店后生效</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.ui" line="1334"/>
|
<location filename="../src/widget.ui" line="1341"/>
|
||||||
<source>0B</source>
|
<source>0B</source>
|
||||||
<translation></translation>
|
<translation></translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -513,6 +518,11 @@
|
|||||||
<source>Not Exist</source>
|
<source>Not Exist</source>
|
||||||
<translation>不存在</translation>
|
<translation>不存在</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../src/widget.cpp" line="887"/>
|
||||||
|
<source>Total downloads: %1</source>
|
||||||
|
<translation>总下载量:%1</translation>
|
||||||
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.cpp" line="138"/>
|
<location filename="../src/widget.cpp" line="138"/>
|
||||||
<location filename="../src/widget.cpp" line="406"/>
|
<location filename="../src/widget.cpp" line="406"/>
|
||||||
@@ -556,7 +566,7 @@
|
|||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.cpp" line="656"/>
|
<location filename="../src/widget.cpp" line="656"/>
|
||||||
<location filename="../src/widget.cpp" line="895"/>
|
<location filename="../src/widget.cpp" line="897"/>
|
||||||
<source>Reinstall</source>
|
<source>Reinstall</source>
|
||||||
<translation>重新安装</translation>
|
<translation>重新安装</translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -584,22 +594,22 @@
|
|||||||
<translation type="vanished">目前仅支持商店专用链接的打开,搜索功能正在开发,请期待以后的版本!</translation>
|
<translation type="vanished">目前仅支持商店专用链接的打开,搜索功能正在开发,请期待以后的版本!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.cpp" line="900"/>
|
<location filename="../src/widget.cpp" line="902"/>
|
||||||
<source>Upgrade</source>
|
<source>Upgrade</source>
|
||||||
<translation>升级</translation>
|
<translation>升级</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.cpp" line="1083"/>
|
<location filename="../src/widget.cpp" line="1085"/>
|
||||||
<source>Updating, please wait...</source>
|
<source>Updating, please wait...</source>
|
||||||
<translation>正在更新,请稍候……</translation>
|
<translation>正在更新,请稍候……</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.cpp" line="1144"/>
|
<location filename="../src/widget.cpp" line="1146"/>
|
||||||
<source>Apt has reported an error. Please use apt update in terminal to locate the problem.</source>
|
<source>Apt has reported an error. Please use apt update in terminal to locate the problem.</source>
|
||||||
<translation>更新中发生错误,请在终端使用apt update来查看错误原因。</translation>
|
<translation>更新中发生错误,请在终端使用apt update来查看错误原因。</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.cpp" line="1151"/>
|
<location filename="../src/widget.cpp" line="1153"/>
|
||||||
<source>Unknown error!</source>
|
<source>Unknown error!</source>
|
||||||
<translation>未知错误!</translation>
|
<translation>未知错误!</translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -651,17 +661,17 @@ Click yes to continue.</source>
|
|||||||
<translation type="vanished">服务器未知错误</translation>
|
<translation type="vanished">服务器未知错误</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.cpp" line="1179"/>
|
<location filename="../src/widget.cpp" line="1181"/>
|
||||||
<source>Uninstall succeeded</source>
|
<source>Uninstall succeeded</source>
|
||||||
<translation>卸载成功</translation>
|
<translation>卸载成功</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.cpp" line="1201"/>
|
<location filename="../src/widget.cpp" line="1203"/>
|
||||||
<source>Temporary cache was cleaned</source>
|
<source>Temporary cache was cleaned</source>
|
||||||
<translation>缓存目录已清空</translation>
|
<translation>缓存目录已清空</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/widget.cpp" line="1283"/>
|
<location filename="../src/widget.cpp" line="1285"/>
|
||||||
<source>The URL has been copied to the clipboard</source>
|
<source>The URL has been copied to the clipboard</source>
|
||||||
<translation>链接已复制到剪贴板</translation>
|
<translation>链接已复制到剪贴板</translation>
|
||||||
</message>
|
</message>
|
||||||
@@ -758,7 +768,7 @@ Click yes to continue.</source>
|
|||||||
<message>
|
<message>
|
||||||
<location filename="../src/downloadlist.cpp" line="74"/>
|
<location filename="../src/downloadlist.cpp" line="74"/>
|
||||||
<source>Downloaded. Open APP Upgrade and Install Settings to enable password-free installation</source>
|
<source>Downloaded. Open APP Upgrade and Install Settings to enable password-free installation</source>
|
||||||
<translation type="unfinished">下载完成 可进入应用更新和安装设置来启动免密码安装</translation>
|
<translation>下载完成 可进入应用更新和安装设置来启动免密码安装</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/downloadlist.cpp" line="190"/>
|
<location filename="../src/downloadlist.cpp" line="190"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user