Compare commits
63 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 105c7f3751 | |||
|
|
aa3f2fbce4 | ||
| 1ab8da0e1a | |||
| 072be29804 | |||
| 8e7aa445cf | |||
| f5faebe91e | |||
| 5bcf2ce4f5 | |||
| 992d1e7023 | |||
| 86f8a3b501 | |||
| 46a1daeafc | |||
| 0566d546df | |||
| b3eb13ada5 | |||
| 19bfd4031c | |||
| d2844b8b8a | |||
| f02c279c8a | |||
|
|
6fa0e11927 | ||
| f0830822c7 | |||
| 7c9b503b0e | |||
|
|
5a248859ec | ||
| f03e032a1b | |||
| 9657c13106 | |||
| a3355516cf | |||
|
|
eb88fc85c5 | ||
|
|
5dc0d52530 | ||
| c8cbaa9c8b | |||
| 11d7073905 | |||
| 5e55607dbf | |||
|
|
761f67f02c | ||
| 97755980bc | |||
| beaa19e9e5 | |||
| 8cfd219d67 | |||
| b153edf8dc | |||
| 90ed903197 | |||
| 4c59762086 | |||
| a49c35dbcb | |||
| b6f57c727b | |||
| d0dec1b3b0 | |||
| b125993336 | |||
| 5a37f24145 | |||
| a7b32db9b5 | |||
| b7d9ea9358 | |||
| e2118a471f | |||
| 8d06c37e96 | |||
| 0d3431b616 | |||
| b2fc02d145 | |||
| 102c0831af | |||
| 8dc1854f2e | |||
| b778e351b3 | |||
| 85a7790932 | |||
| 09bc7f2867 | |||
| 81aa00ff01 | |||
| 4b72d091e5 | |||
| a159a11807 | |||
| d86efc642a | |||
| 4c05c18198 | |||
| 09c1d50bd2 | |||
| ef36a92c7c | |||
| 8a93d4dd06 | |||
|
|
29ddef300f | ||
| 5bd6ad9399 | |||
| 32c74bc5a0 | |||
| ce34fc763f | |||
| 85823fdc23 |
@@ -18,22 +18,28 @@ stages:
|
||||
name: execute_by_docker
|
||||
displayName: 基于镜像的DTK构建
|
||||
certificate: ''
|
||||
image: docker.io/debian:buster
|
||||
image: docker.jianmuhub.com/library/debian:buster
|
||||
command:
|
||||
- sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list
|
||||
- '# 换源'
|
||||
- apt update
|
||||
- export DEBIAN_FRONTEND=noninteractive
|
||||
- echo "安装git devscripts equivs curl..."
|
||||
- 'apt install git devscripts equivs curl -y '
|
||||
- echo "安装依赖..."
|
||||
- 'apt install libgsettings-qt-dev -y '
|
||||
- 'apt install debhelper git curl fakeroot qtbase5-dev zlib1g-dev qt5-default -y '
|
||||
- git clone https://gitlink.org.cn/shenmo7192/dtk-old-bundle.git
|
||||
- cd dtk-old-bundle
|
||||
- apt install ./*.deb -y
|
||||
- cd ..
|
||||
- rm -rf dtk-old-bundle
|
||||
- ''
|
||||
- 'mk-build-deps --install --tool "apt-get -o Debug::pkgProblemResolver=yes -y" '
|
||||
- dpkg-buildpackage -j2 -b -us -uc
|
||||
- '#mk-build-deps --install --tool "apt-get -o Debug::pkgProblemResolver=yes -y" '
|
||||
- apt build-dep . -y
|
||||
- strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
|
||||
- uname -a
|
||||
- sed -i 's/dh \$@ --parallel/dh \$@/' debian/rules
|
||||
- '# Gitee的配置太低了'
|
||||
- dpkg-buildpackage -b -us -uc
|
||||
- cd ..
|
||||
- ls -all
|
||||
- pwd
|
||||
|
||||
@@ -25,7 +25,7 @@ To improve this situation, we have launched this app store. We have broadly incl
|
||||
|
||||
We warmly welcome you to join our development team. Whether you want to participate in development or submit applications, you can find your place here to jointly promote the development of the Linux application ecosystem.
|
||||
|
||||
You can track our Issue handling status in real-time through the following link: [Gitee Issue Board](https://gitee.com/spark-store-project/spark-store/board).
|
||||
You can track our Issue handling status in real-time through the following link: [Issue Board](https://gitee.com/spark-store-project/spark-store/board).
|
||||
|
||||
If you have a software package you'd like to submit, please [click here to submit](https://upload.deepinos.org.cn/index).
|
||||
|
||||
@@ -158,7 +158,7 @@ You can also check the [Chinese version](https://gitee.com/spark-store-project/s
|
||||
|
||||
## Contact and Feedback
|
||||
|
||||
- If you have any questions or suggestions, please submit them via email or on our [Gitee page](https://gitee.com/spark-store-project/spark-store/issues).
|
||||
- If you have any questions or suggestions, please submit them via email or on our [Issue Page](https://gitee.com/spark-store-project/spark-store/issues).
|
||||
- If you want to follow our development progress, you can go to the [Spark App Store Board](https://gitee.com/spark-store-project/spark-store/board) for more information.
|
||||
- Our [Forum](https://bbs.spark-app.store/)
|
||||
- Our [QQ Group](https://blog.shenmo.tech/post/%E6%95%85%E9%9A%9C%E5%85%AC%E5%91%8A/)
|
||||
|
||||
@@ -39,7 +39,7 @@ https://github.com/spark-store-project/spark-store
|
||||
|
||||
我们热忱欢迎您加入我们的开发团队。无论您是想参与开发,还是想提交应用,都能在这里找到属于您的一席之地,共同推动Linux应用生态的发展。
|
||||
|
||||
您可以通过以下链接,实时跟踪我们的Issue处理状态:[Gitee Issue看板](https://gitee.com/spark-store-project/spark-store/board)。
|
||||
您可以通过以下链接,实时跟踪我们的Issue处理状态:[Issue看板](https://gitee.com/spark-store-project/spark-store/board)。
|
||||
|
||||
若您有软件包想要提交,敬请 [点击此处进行投稿](https://wiki.spark-app.store/#/Submit/Submit)。
|
||||
|
||||
@@ -179,7 +179,7 @@ https://github.com/spark-store-project/spark-store
|
||||
|
||||
## 联系与反馈
|
||||
|
||||
- 如果您有任何问题或建议,请通过邮件或在[Gitee页面](https://gitee.com/spark-store-project/spark-store/issues)上提交问题。
|
||||
- 如果您有任何问题或建议,请通过邮件或在[Issue 页面](https://gitee.com/spark-store-project/spark-store/issues)上提交问题。
|
||||
- 如果你想关注我们的开发进度,可以跳转[星火应用商店Board](https://gitee.com/spark-store-project/spark-store/board)获取更多信息。
|
||||
- 我们的[论坛](https://bbs.spark-app.store/)
|
||||
- 我们的QQ群 872690351
|
||||
|
||||
33
debian/changelog
vendored
@@ -1,6 +1,37 @@
|
||||
spark-store (4.3.2.2) UNRELEASED; urgency=medium
|
||||
spark-store (4.5.1) UNRELEASED; urgency=medium
|
||||
|
||||
* 修复 aptss 部分报错
|
||||
* 重新设计了 Tag 区的展示方式
|
||||
* 新增 Fish 补全
|
||||
|
||||
-- shenmo <shenmo@spark-app.store> Tue, 24 Sep 2024 11:27:08 +0800
|
||||
|
||||
spark-store (4.5.0) UNRELEASED; urgency=medium
|
||||
|
||||
* 支持从商店中直接启动应用
|
||||
* ssinstall 修复安装时不再指定版本号以避免出现问题
|
||||
* aptss支持fish补全
|
||||
* 修复: distrobox下无法正常校验应用hash
|
||||
* aptss 4.5.0
|
||||
* 应用更新新增进度条
|
||||
* 支持识别Debian
|
||||
|
||||
-- shenmo <shenmo@spark-app.store> Tue, 24 Sep 2024 11:27:08 +0800
|
||||
|
||||
spark-store (4.3.3.2) UNRELEASED; urgency=medium
|
||||
|
||||
* 提升升级工具体验,不再反复弹窗
|
||||
* 提升aptss使用体验,汇报目前所在阶段而不是卡住不动
|
||||
* 修复debian sid 无法卸载
|
||||
|
||||
-- shenmo <shenmo@spark-app.store> Tue, 24 Sep 2024 11:27:08 +0800
|
||||
|
||||
spark-store (4.3.3.1) UNRELEASED; urgency=medium
|
||||
|
||||
* 修复点击更新需要输入密码的问题
|
||||
* 修复安装速度下降的问题
|
||||
* 修复闪退问题
|
||||
* 修复错误地展示已安装
|
||||
|
||||
-- shenmo <shenmo@spark-app.store> Tue, 24 Sep 2024 11:27:08 +0800
|
||||
|
||||
|
||||
3
debian/control
vendored
@@ -30,6 +30,7 @@ Depends: ${shlibs:Depends}, ${misc:Depends},
|
||||
libnotify-bin,
|
||||
qtwayland5,
|
||||
desktop-file-utils,
|
||||
dpkg-dev
|
||||
dpkg-dev,
|
||||
lsb-release,
|
||||
Description: Spark Store
|
||||
A community powered app store, based on DTK.
|
||||
|
||||
4
debian/rules
vendored
@@ -36,4 +36,6 @@ override_dh_auto_install:
|
||||
# Ignore the dpkg-shlibdeps: warning (it uses none of the library's symbols)
|
||||
# Qt Mutidedia lib will ref to network libraray.
|
||||
override_dh_shlibdeps:
|
||||
dh_shlibdeps --dpkg-shlibdeps-params=--warnings=0
|
||||
dh_shlibdeps --dpkg-shlibdeps-params=--warnings=0 --exclude=opt/durapps/spark-store/bin/ss-feedback/
|
||||
override_dh_strip:
|
||||
dh_strip --exclude=opt/durapps/spark-store/bin/ss-feedback/
|
||||
2
debian/spark-store.prerm
vendored
@@ -51,7 +51,7 @@ for username in `ls /home`
|
||||
|
||||
# Remove gpg key file
|
||||
rm -f /etc/apt/trusted.gpg.d/spark-store.gpg
|
||||
apt-key del '9D9A A859 F750 24B1 A1EC E16E 0E41 D354 A29A 440C'
|
||||
apt-key del '9D9A A859 F750 24B1 A1EC E16E 0E41 D354 A29A 440C' || true
|
||||
else
|
||||
|
||||
if [ ! -z "`pidof spark-store`" ] ; then
|
||||
|
||||
@@ -2,13 +2,14 @@
|
||||
Description=Spark Store update notifier
|
||||
After=apt-daily.service network.target network-online.target systemd-networkd.service NetworkManager.service connman.service
|
||||
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
RemainAfterExit=yes
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/opt/durapps/spark-store/bin/update-upgrade/ss-update-notifier.sh
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
RestartSec=15 # 可以设置为更长的重试间隔,比如 15 秒或 30 秒
|
||||
StartLimitIntervalSec=1h # 设置为 1 小时的时间窗口
|
||||
StartLimitBurst=3 # 最大允许失败次数为 3 次
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
WantedBy=multi-user.target
|
||||
|
||||
@@ -40,7 +40,7 @@ _aptss()
|
||||
"list"
|
||||
"search"
|
||||
"show" "showsrc"
|
||||
"install" "remove" "purge" "autoremove"
|
||||
"install" "remove" "purge" "autoremove" "autopurge"
|
||||
"update"
|
||||
"upgrade" "full-upgrade" "dist-upgrade"
|
||||
"edit-sources"
|
||||
|
||||
242
pkg/usr/share/fish/completions/aptss.fish
Normal file
@@ -0,0 +1,242 @@
|
||||
# 清除已有的 aptss 补全(如果有的话)
|
||||
complete -c aptss -e
|
||||
|
||||
# 禁用默认的文件补全(避免显示当前目录文件)
|
||||
complete -c aptss -f
|
||||
|
||||
########################################################################
|
||||
# aptss Fish 补全脚本(中文说明版,软件包补全显示简介)
|
||||
#
|
||||
# 说明:
|
||||
# 1. 子命令和选项的说明采用中文显示。
|
||||
# 2. 软件包补全部分不再调用 apt-cache,而是解析 aptss 自有的软件源索引文件,
|
||||
# 从 /var/lib/aptss/lists/*Packages(或 *Sources)中提取软件包名称及简介信息。
|
||||
#
|
||||
# 注意:如果你的 aptss 软件源索引文件位置或格式有变化,请相应修改下面的 awk 命令。
|
||||
########################################################################
|
||||
|
||||
### 辅助函数
|
||||
|
||||
# 解析 /var/lib/aptss/lists/*Packages 文件,输出符合当前输入前缀的“软件包<TAB>简介”
|
||||
function __fish_aptss_print_packages
|
||||
set cur (commandline -ct)
|
||||
# 将所有匹配的 Packages 文件拼接后,用 awk 分段解析(RS="" 表示以空行为分段)
|
||||
awk -v cur="$cur" '
|
||||
BEGIN { RS=""; FS="\n" }
|
||||
{
|
||||
pkg = ""; desc = "";
|
||||
for(i=1; i<=NF; i++){
|
||||
if($i ~ /^Package: /) { pkg = substr($i, 10) } # “Package: ”共9个字符
|
||||
else if($i ~ /^Description: /) { desc = substr($i, 14) } # “Description: ”共13个字符
|
||||
}
|
||||
if(pkg != "" && (cur == "" || pkg ~ ("^" cur))) {
|
||||
print pkg "\t" desc
|
||||
}
|
||||
}
|
||||
' /var/lib/aptss/lists/*Packages 2>/dev/null
|
||||
end
|
||||
|
||||
# 解析已安装软件包(这里仍使用 dpkg-query,如果需要使用 aptss 数据,可另外构造)
|
||||
function __fish_aptss_print_installed_packages
|
||||
set cur (commandline -ct)
|
||||
dpkg-query -W -f='${Package}\t${Description}\n' 2>/dev/null | grep -i "^$cur"
|
||||
end
|
||||
|
||||
# 解析 /var/lib/aptss/lists/*Sources 文件,输出源代码包信息(如果存在)
|
||||
function __fish_aptss_print_source_packages
|
||||
set cur (commandline -ct)
|
||||
awk -v cur="$cur" '
|
||||
BEGIN { RS=""; FS="\n" }
|
||||
{
|
||||
pkg = ""; desc = "";
|
||||
for(i=1; i<=NF; i++){
|
||||
if($i ~ /^Package: /) { pkg = substr($i, 10) }
|
||||
else if($i ~ /^Description: /) { desc = substr($i, 14) }
|
||||
}
|
||||
if(pkg != "" && (cur == "" || pkg ~ ("^" cur))) {
|
||||
print pkg "\t" desc
|
||||
}
|
||||
}
|
||||
' /var/lib/aptss/lists/*Sources 2>/dev/null
|
||||
end
|
||||
|
||||
# 翻译子命令为中文说明(用于补全时显示在括号内)
|
||||
function __fish_translate_aptss_cmd
|
||||
switch $argv[1]
|
||||
case ssupdate
|
||||
echo "更新软件源"
|
||||
case list
|
||||
echo "列出软件包"
|
||||
case search
|
||||
echo "搜索软件包"
|
||||
case show
|
||||
echo "显示软件包信息"
|
||||
case showsrc
|
||||
echo "显示源包信息"
|
||||
case install
|
||||
echo "安装软件包"
|
||||
case remove
|
||||
echo "移除软件包"
|
||||
case purge
|
||||
echo "彻底移除软件包"
|
||||
case autoremove
|
||||
echo "自动移除不必要的软件包"
|
||||
case update
|
||||
echo "更新软件包列表"
|
||||
case upgrade
|
||||
echo "升级软件包"
|
||||
case full-upgrade
|
||||
echo "完全升级(可能移除其他软件包)"
|
||||
case dist-upgrade
|
||||
echo "发行版升级"
|
||||
case edit-sources
|
||||
echo "编辑软件源列表"
|
||||
case help
|
||||
echo "显示帮助信息"
|
||||
case source
|
||||
echo "下载源代码包"
|
||||
case build-dep
|
||||
echo "安装构建依赖"
|
||||
case clean
|
||||
echo "清除软件包缓存"
|
||||
case autoclean
|
||||
echo "自动清理旧缓存"
|
||||
case download
|
||||
echo "下载软件包"
|
||||
case changelog
|
||||
echo "显示更新日志"
|
||||
case moo
|
||||
echo "彩蛋"
|
||||
case depends
|
||||
echo "显示软件包依赖"
|
||||
case rdepends
|
||||
echo "显示软件包逆向依赖"
|
||||
case policy
|
||||
echo "显示软件包策略"
|
||||
case '*'
|
||||
echo $argv[1]
|
||||
end
|
||||
end
|
||||
|
||||
### 定义各类子命令组
|
||||
|
||||
# 所有子命令列表
|
||||
set -g __aptss_commands ssupdate list search show showsrc install remove purge autoremove update upgrade full-upgrade dist-upgrade edit-sources help source build-dep clean autoclean download changelog moo depends rdepends policy
|
||||
|
||||
# 需要补全二进制软件包名称的子命令(例如 install、show、search、download、changelog、depends、rdepends)
|
||||
set -l __aptss_pkg_subcmds install show search download changelog depends rdepends
|
||||
|
||||
# 需要补全已安装软件包的子命令(例如 remove、purge、autoremove)
|
||||
set -l __aptss_installed_pkg_subcmds remove purge autoremove
|
||||
|
||||
# 需要补全源代码包的子命令(例如 source、build-dep、showsrc、policy)
|
||||
set -l __aptss_src_pkg_subcmds source build-dep showsrc policy
|
||||
|
||||
### 子命令补全
|
||||
# 未输入子命令时,显示所有候选子命令,并在括号中显示中文说明
|
||||
for cmd in $__aptss_commands
|
||||
set desc (__fish_translate_aptss_cmd $cmd)
|
||||
complete -c aptss -a $cmd -d "$desc" -n "not __fish_seen_subcommand_from $__aptss_commands"
|
||||
end
|
||||
|
||||
### 公共选项(适用于一组子命令)
|
||||
set -l group1 "install remove purge upgrade dist-upgrade full-upgrade autoremove"
|
||||
|
||||
complete -c aptss -n "__fish_seen_subcommand_from $group1" -l show-progress -d '显示进度'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from $group1" -l fix-broken -d '修复损坏的依赖'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from $group1" -l purge -d '清除配置文件'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from $group1" -l verbose-versions -d '显示详细版本'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from $group1" -l auto-remove -d '自动移除依赖'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from $group1" -s s -l simulate -d '模拟/试运行'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from $group1" -l download -d '下载软件包'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from $group1" -l fix-missing -d '修复丢失文件'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from $group1" -l fix-policy -d '修复策略'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from $group1" -l ignore-hold -d '忽略锁定'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from $group1" -l force-yes -d '强制确认'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from $group1" -l trivial-only -d '仅处理简单情况'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from $group1" -l reinstall -d '重新安装'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from $group1" -l solver -d '使用求解器'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from $group1" -s t -l target-release -d '目标版本'
|
||||
|
||||
# 附加的 GENERIC 选项
|
||||
complete -c aptss -n "__fish_seen_subcommand_from $group1" -s d -l download-only -d '仅下载'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from $group1" -s y -l assume-yes -d '默认确认'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from $group1" -l assume-no -d '默认否定'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from $group1" -s u -l show-upgraded -d '显示升级情况'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from $group1" -s m -l ignore-missing -d '忽略缺失'
|
||||
|
||||
### 针对各个子命令的专用选项
|
||||
|
||||
# update 命令
|
||||
complete -c aptss -n "__fish_seen_subcommand_from update" -l list-cleanup -d '清理列表'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from update" -l print-uris -d '显示 URI'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from update" -l allow-insecure-repositories -d '允许不安全的仓库'
|
||||
|
||||
# list 命令
|
||||
complete -c aptss -n "__fish_seen_subcommand_from list" -l installed -d '已安装的软件包'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from list" -l upgradable -d '可升级的软件包'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from list" -l manual-installed -d '手动安装的软件包'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from list" -s v -l verbose -d '详细模式'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from list" -s a -l all-versions -d '显示所有版本'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from list" -s t -l target-release -d '目标版本'
|
||||
|
||||
# show 命令
|
||||
complete -c aptss -n "__fish_seen_subcommand_from show" -s a -l all-versions -d '显示所有版本'
|
||||
|
||||
# depends 和 rdepends 命令(逐项添加各选项)
|
||||
for opt in i important installed pre-depends depends recommends suggests replaces breaks conflicts enhances recurse implicit
|
||||
complete -c aptss -n "__fish_seen_subcommand_from depends rdepends" -l $opt -d $opt
|
||||
end
|
||||
complete -c aptss -n "__fish_seen_subcommand_from depends rdepends" -s i -d '选项 -i'
|
||||
|
||||
# search 命令
|
||||
complete -c aptss -n "__fish_seen_subcommand_from search" -s n -l names-only -d '仅匹配名称'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from search" -s f -l full -d '全文搜索'
|
||||
|
||||
# showsrc 命令
|
||||
complete -c aptss -n "__fish_seen_subcommand_from showsrc" -l only-source -d '仅显示源代码'
|
||||
|
||||
# source 命令
|
||||
complete -c aptss -n "__fish_seen_subcommand_from source" -s s -l simulate -d '模拟'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from source" -s b -l compile -d '编译/构建'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from source" -s P -l build-profiles -d '构建配置'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from source" -l diff-only -d '仅显示差异'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from source" -l debian-only -d '仅限 Debian'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from source" -l tar-only -d '仅打包 tar'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from source" -l dsc-only -d '仅下载 DSC'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from source" -s t -l target-release -d '目标版本'
|
||||
|
||||
# build-dep 命令
|
||||
complete -c aptss -n "__fish_seen_subcommand_from build-dep" -s a -l host-architecture -d '主机架构'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from build-dep" -s s -l simulate -d '模拟'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from build-dep" -s P -l build-profiles -d '构建配置'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from build-dep" -s t -l target-release -d '目标版本'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from build-dep" -l purge -d '清除'
|
||||
complete -c aptss -n "__fish_seen_subcommand_from build-dep" -l solver -d '求解依赖'
|
||||
|
||||
# moo 命令
|
||||
complete -c aptss -n "__fish_seen_subcommand_from moo" -l color -d '彩蛋模式'
|
||||
|
||||
# clean 和 autoclean 命令
|
||||
complete -c aptss -n "__fish_seen_subcommand_from clean autoclean" -s s -l simulate -d '模拟'
|
||||
|
||||
### 针对 -t/--target-release 的特殊补全
|
||||
complete -c aptss -n '
|
||||
begin
|
||||
set -l prev (commandline -poc | string trim)
|
||||
test "$prev" = "-t" -o "$prev" = "--target-release"
|
||||
end
|
||||
' -a '(__fish_aptss_target_release)' -d '目标版本'
|
||||
|
||||
### 软件包补全
|
||||
# 对于需要二进制软件包名称的子命令,调用 __fish_aptss_print_packages,
|
||||
# 输出的每一行格式为 "包名<TAB>简介",Fish 会将 TAB 后内容显示为注释。
|
||||
complete -c aptss -n "__fish_seen_subcommand_from $__aptss_pkg_subcmds" -a '(__fish_aptss_print_packages)'
|
||||
|
||||
# 对于 remove、purge、autoremove 命令,补全已安装的软件包(使用 dpkg-query 输出)
|
||||
complete -c aptss -n "__fish_seen_subcommand_from $__aptss_installed_pkg_subcmds" -a '(__fish_aptss_print_installed_packages)' -d '已安装软件包'
|
||||
|
||||
# 对于 source、build-dep、showsrc、policy 命令,补全源代码包,
|
||||
# 如果存在对应的 Sources 索引文件,则调用 __fish_aptss_print_source_packages,
|
||||
# 否则可考虑默认使用二进制包的索引。
|
||||
complete -c aptss -n "__fish_seen_subcommand_from $__aptss_src_pkg_subcmds" -a '(__fish_aptss_print_source_packages)' -d '源代码包'
|
||||
@@ -40,6 +40,9 @@ qm.path = /usr/share/spark-store/translations
|
||||
bash_completion.files += pkg/usr/share/bash-completion/completions/aptss
|
||||
bash_completion.path = /usr/share/bash-completion/completions
|
||||
|
||||
fish_completion.files += pkg/usr/share/fish/completions/aptss.fish
|
||||
fish_completion.path = /usr/share/fish/completions/
|
||||
|
||||
desktop.files += pkg/usr/share/applications/*.desktop
|
||||
desktop.path = /usr/share/applications
|
||||
|
||||
@@ -73,5 +76,6 @@ INSTALLS += \
|
||||
tmp \
|
||||
service \
|
||||
bash_completion \
|
||||
fish_completion \
|
||||
polkit-1
|
||||
# 暂时不添加
|
||||
|
||||
@@ -63,5 +63,6 @@
|
||||
<file>tags/uos-small.png</file>
|
||||
<file>tags/uos.svg</file>
|
||||
<file>translations/qtwebengine_zh.qm</file>
|
||||
<file>tags/debian.svg</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
||||
BIN
src/assets/icon/logo.xcf
Normal file
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 248 KiB After Width: | Height: | Size: 4.7 KiB |
1
src/assets/tags/a2d.svg
Normal file
|
After Width: | Height: | Size: 12 KiB |
1
src/assets/tags/a2d_full.svg
Normal file
|
After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 178 KiB |
1
src/assets/tags/community_full.svg
Normal file
|
After Width: | Height: | Size: 738 KiB |
BIN
src/assets/tags/debian-small.png
Normal file
|
After Width: | Height: | Size: 4.8 KiB |
BIN
src/assets/tags/debian.png
Normal file
|
After Width: | Height: | Size: 4.8 KiB |
1
src/assets/tags/debian.svg
Normal file
|
After Width: | Height: | Size: 26 KiB |
1
src/assets/tags/debian_full.svg
Normal file
|
After Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 5.0 KiB |
BIN
src/assets/tags/deepin.png
Normal file
|
After Width: | Height: | Size: 5.0 KiB |
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 17 KiB |
1
src/assets/tags/deepin_full.svg
Normal file
|
After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 954 B After Width: | Height: | Size: 4.9 KiB |
BIN
src/assets/tags/dtk.png
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
1
src/assets/tags/dtk.svg
Normal file
|
After Width: | Height: | Size: 13 KiB |
1
src/assets/tags/dtk_full.svg
Normal file
|
After Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 4.7 KiB |
BIN
src/assets/tags/dwine2.png
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
1
src/assets/tags/dwine2.svg
Normal file
|
After Width: | Height: | Size: 16 KiB |
1
src/assets/tags/dwine2_full.svg
Normal file
|
After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 4.5 KiB |
BIN
src/assets/tags/dwine5.png
Normal file
|
After Width: | Height: | Size: 4.5 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 16 KiB |
1
src/assets/tags/dwine5_full.svg
Normal file
|
After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 5.0 KiB |
|
Before Width: | Height: | Size: 83 KiB After Width: | Height: | Size: 5.0 KiB |
1
src/assets/tags/ubuntu.svg
Normal file
|
After Width: | Height: | Size: 19 KiB |
1
src/assets/tags/ubuntu_full.svg
Normal file
|
After Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 873 B After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 4.7 KiB |
BIN
src/assets/tags/uos.png
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 873 B After Width: | Height: | Size: 18 KiB |
1
src/assets/tags/uos_full.svg
Normal file
|
After Width: | Height: | Size: 18 KiB |
@@ -180,7 +180,19 @@ void AppIntoPage::openUrl(const QUrl &url)
|
||||
{
|
||||
if (isUpdated)
|
||||
{
|
||||
ui->downloadButton->setText(tr("Reinstall"));
|
||||
QProcess process;
|
||||
QStringList arguments;
|
||||
arguments << "check" << info["Pkgname"].toString();
|
||||
process.start("/opt/durapps/spark-store/bin/store-helper/ss-launcher", arguments);
|
||||
if (process.waitForFinished()) {
|
||||
exitCode = process.exitCode();
|
||||
exitStatus = process.exitStatus();
|
||||
if (exitCode != 0){
|
||||
ui->downloadButton->setText(tr("Reinstall"));
|
||||
}else{
|
||||
ui->downloadButton->setText(tr("Launch"));
|
||||
}
|
||||
}
|
||||
ui->downloadButton->setEnabled(true);
|
||||
ui->downloadButton->show();
|
||||
ui->pushButton_3->show();
|
||||
@@ -219,6 +231,7 @@ void AppIntoPage::clear()
|
||||
ui->tag_deepin->hide();
|
||||
ui->tag_dwine2->hide();
|
||||
ui->tag_dwine5->hide();
|
||||
ui->tag_debian->hide();
|
||||
ui->tag_ubuntu->hide();
|
||||
ui->tag_community->hide();
|
||||
ui->icon->clear();
|
||||
@@ -287,8 +300,10 @@ void AppIntoPage::setDownloadWidget(DownloadListWidget *w)
|
||||
}
|
||||
|
||||
dw = w;
|
||||
connect(w, &DownloadListWidget::downloadFinished, [=]()
|
||||
{ isDownloading(SparkAPI::getServerUrl() + SparkAPI::getArchDir() + spk.path() + "/" + info["Filename"].toString()); });
|
||||
connect(w, &DownloadListWidget::downloadFinished, this, [=]() {
|
||||
isDownloading(SparkAPI::getServerUrl() + SparkAPI::getArchDir() + spk.path() + "/" + info["Filename"].toString());
|
||||
},
|
||||
Qt::QueuedConnection);
|
||||
}
|
||||
|
||||
void AppIntoPage::initUI()
|
||||
@@ -355,14 +370,25 @@ void AppIntoPage::isDownloading(const QUrl &url)
|
||||
|
||||
int exitCode = process.exitCode();
|
||||
QProcess::ExitStatus exitStatus = process.exitStatus();
|
||||
process.close();
|
||||
|
||||
if (exitCode == 0 && exitStatus == QProcess::NormalExit)
|
||||
{
|
||||
QStringList arguments;
|
||||
arguments << "check" << info["Pkgname"].toString();
|
||||
process.start("/opt/durapps/spark-store/bin/store-helper/ss-launcher", arguments);
|
||||
if (process.waitForFinished()) {
|
||||
exitCode = process.exitCode();
|
||||
exitStatus = process.exitStatus();
|
||||
if (exitCode != 0){
|
||||
ui->downloadButton->setText(tr("Reinstall"));
|
||||
}else{
|
||||
ui->downloadButton->setText(tr("Launch"));
|
||||
}
|
||||
}
|
||||
ui->downloadButton->setEnabled(true);
|
||||
ui->downloadButton->setText(tr("Reinstall"));
|
||||
ui->downloadButton->show();
|
||||
ui->pushButton_3->show();
|
||||
process.close();
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -377,12 +403,18 @@ void AppIntoPage::setAppinfoTags(const QStringList &tagList)
|
||||
bool ubuntuSupport = false;
|
||||
bool deepinSupport = false;
|
||||
bool uosSupport = false;
|
||||
bool debianSupport = false;
|
||||
foreach (const QString &tag, tagList)
|
||||
{
|
||||
if (tag == "community")
|
||||
{
|
||||
ui->tag_community->show();
|
||||
}
|
||||
else if (tag == "debian")
|
||||
{
|
||||
ui->tag_debian->show();
|
||||
debianSupport = true;
|
||||
}
|
||||
else if (tag == "ubuntu")
|
||||
{
|
||||
ui->tag_ubuntu->show();
|
||||
@@ -416,10 +448,10 @@ void AppIntoPage::setAppinfoTags(const QStringList &tagList)
|
||||
ui->tag_a2d->show();
|
||||
}
|
||||
}
|
||||
notifyUserUnsupportedTags(ubuntuSupport, deepinSupport, uosSupport);
|
||||
notifyUserUnsupportedTags(ubuntuSupport, deepinSupport, uosSupport ,debianSupport);
|
||||
}
|
||||
|
||||
void AppIntoPage::notifyUserUnsupportedTags(bool ubuntuSupport, bool deepinSupport, bool uosSupport)
|
||||
void AppIntoPage::notifyUserUnsupportedTags(bool ubuntuSupport, bool deepinSupport, bool uosSupport, bool debianSupport)
|
||||
{
|
||||
if (!SettingsPage::needUncompatibleNotification) {
|
||||
return;
|
||||
@@ -430,30 +462,21 @@ void AppIntoPage::notifyUserUnsupportedTags(bool ubuntuSupport, bool deepinSuppo
|
||||
bool checkdeepin = (isDeepin && !deepinSupport);
|
||||
bool checkuos = (isUOS && !uosSupport);
|
||||
bool isUbuntu = false;
|
||||
bool isDebian = false;
|
||||
if (!checkdeepin && !checkuos)
|
||||
{
|
||||
// 检查是否为 ubuntu 系统
|
||||
QFile lsb("/etc/lsb-release");
|
||||
if (!lsb.open(QIODevice::ReadOnly))
|
||||
{
|
||||
qDebug() << "打开 /etc/lsb-release 失败";
|
||||
}
|
||||
else {
|
||||
QString lsbInfo = lsb.readAll(); // 因为使用 readAll 读取后会默认跳转到文件末尾导致读出的数据为空,所以用单独一个 string 存储
|
||||
if (lsbInfo.contains("Ubuntu"))
|
||||
{
|
||||
isUbuntu = true;
|
||||
lsb.close();
|
||||
}
|
||||
else if (lsbInfo.contains("GXDE"))
|
||||
{
|
||||
// GXDE 使用 Ubuntu 的 tag
|
||||
isUbuntu = true;
|
||||
lsb.close();
|
||||
}
|
||||
// 使用更可靠的/etc/os-release检测
|
||||
QFile osRelease("/etc/os-release");
|
||||
if (osRelease.open(QIODevice::ReadOnly)) {
|
||||
QString content = osRelease.readAll();
|
||||
isUbuntu = content.contains("ID=ubuntu");
|
||||
isDebian = content.contains("ID=debian") || content.contains("ID_LIKE=debian"); // 合并Debian系检测
|
||||
osRelease.close();
|
||||
}
|
||||
}
|
||||
|
||||
bool checkubuntu = (isUbuntu && !ubuntuSupport);
|
||||
bool checkdebian = (isDebian && !debianSupport);
|
||||
|
||||
if (checkdeepin)
|
||||
{
|
||||
@@ -467,12 +490,17 @@ void AppIntoPage::notifyUserUnsupportedTags(bool ubuntuSupport, bool deepinSuppo
|
||||
{
|
||||
Utils::sendNotification("spark-store", tr("Warning"), tr("The current application does not support or tested on Ubuntu, there may be problems"));
|
||||
}
|
||||
else if (!isUbuntu && !isDeepin && !isUOS)
|
||||
else if (checkdebian)
|
||||
{
|
||||
Utils::sendNotification("spark-store", tr("Warning"), tr("The current application does not support or tested on Debian, there may be problems"));
|
||||
}
|
||||
if (!isUbuntu && !isDeepin && !isUOS && !isDebian)
|
||||
{
|
||||
Utils::sendNotification("spark-store", tr("Warning"), tr("The current application does not support or tested on current platform, there may be problems"));
|
||||
}
|
||||
|
||||
return;
|
||||
|
||||
}
|
||||
|
||||
void AppIntoPage::on_downloadButton_clicked()
|
||||
@@ -486,13 +514,25 @@ void AppIntoPage::on_downloadButton_clicked()
|
||||
return;
|
||||
}
|
||||
|
||||
connect(item, &DownloadItem::finished, [=]() { isDownloading(downloadUrl); });
|
||||
connect(item, &DownloadItem::finished, this, [=]() {
|
||||
isDownloading(downloadUrl);
|
||||
},
|
||||
Qt::QueuedConnection);
|
||||
|
||||
item->install(0);
|
||||
isDownloading(downloadUrl);
|
||||
|
||||
return;
|
||||
}
|
||||
else if (ui->downloadButton->text() == tr("Launch"))
|
||||
{
|
||||
QString scriptPath = "/opt/durapps/spark-store/bin/store-helper/ss-launcher";
|
||||
QStringList arguments;
|
||||
arguments << "launch" << info["Pkgname"].toString();
|
||||
QProcess process;
|
||||
process.startDetached(scriptPath, arguments);
|
||||
return;
|
||||
}
|
||||
|
||||
emit clickedDownloadBtn();
|
||||
|
||||
@@ -501,13 +541,15 @@ void AppIntoPage::on_downloadButton_clicked()
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (ui->downloadButton->text() == tr("Reinstall"))
|
||||
{
|
||||
item->reinstall = true;
|
||||
}
|
||||
ui->downloadButton->setEnabled(false);
|
||||
connect(item, &DownloadItem::finished, [=]() { isDownloading(downloadUrl); });
|
||||
connect(item, &DownloadItem::finished, this, [=]() {
|
||||
isDownloading(downloadUrl);
|
||||
},
|
||||
Qt::QueuedConnection);
|
||||
|
||||
isDownloading(downloadUrl);
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ private:
|
||||
void initConnections();
|
||||
void isDownloading(const QUrl &url);
|
||||
void setAppinfoTags(const QStringList &tagList);
|
||||
void notifyUserUnsupportedTags(bool ubuntuSupport, bool deepinSupport, bool uosSupport);
|
||||
void notifyUserUnsupportedTags(bool ubuntuSupport, bool deepinSupport, bool uosSupport, bool debianSupport);
|
||||
|
||||
signals:
|
||||
void clickedDownloadBtn();
|
||||
|
||||
@@ -160,7 +160,6 @@
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>14</pointsize>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
@@ -364,6 +363,106 @@
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
||||
<item>
|
||||
<spacer name="horizontalSpacer_6">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>184</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="tag_ubuntu">
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Capable to Ubuntu 22.04</p></body></html></string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string><html><head/><body><p>Capable to Ubuntu 22.04</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string><html><head/><body><p><img src=":/tags/ubuntu.png" height=40 width=40 /></p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="tag_uos">
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Capable to UOS home 20</p></body></html></string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string><html><head/><body><p>Capable to UOS home 20</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string><html><head/><body><p><img src=":/tags/uos-authorize.svg" height=40 width=40 /></p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="tag_deepin">
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Capable to deepin 23</p></body></html></string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string><html><head/><body><p>Capable to deepin 23</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string><html><head/><body><p><img src=":/tags/deepin.svg" height=40 width=40 /></p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="tag_debian">
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Capable to Debian Stable</p></body></html></string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string><html><head/><body><p>Capable to Debian Stable</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string><html><head/><body><p><img src=":/tags/debian.svg" height=40 width=40 /></p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer_5">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>184</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="verticalSpacer_9">
|
||||
<property name="orientation">
|
||||
@@ -381,12 +480,9 @@
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
||||
<property name="topMargin">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_13">
|
||||
<item>
|
||||
<spacer name="horizontalSpacer_5">
|
||||
<spacer name="horizontalSpacer_13">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
@@ -398,11 +494,30 @@
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="tag_a2d">
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>An Appimage to deb app.</p></body></html></string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string><html><head/><body><p>An Appimage to deb app.</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string><html><head/><body><p><img src=":/tags/a2d.png"height=40 width=40 /></p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="tag_community">
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>30</width>
|
||||
<width>40</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
@@ -413,64 +528,7 @@
|
||||
<string><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></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string><html><head/><body><p><img src=":/tags/community-small.png"/></p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="tag_ubuntu">
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>30</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Capable to Ubuntu 22.04</p></body></html></string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string><html><head/><body><p>Capable to Ubuntu 22.04</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string><html><head/><body><p><img src=":/tags/ubuntu-small.png"/></p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="tag_uos">
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>30</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Capable to UOS home 20</p></body></html></string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string><html><head/><body><p>Capable to UOS home 20</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string><html><head/><body><p><img src=":/tags/uos-small.png"/></p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="tag_dwine2">
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>30</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>A deepin-wine2 app. Spark Store will automatically configure the wine kit for you.</p></body></html></string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string><html><head/><body><p>A deepin-wine2 app. Spark Store will automatically configure the wine kit for you.</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string><html><head/><body><p><img src=":/tags/dwine2-small.png"/></p></body></html></string>
|
||||
<string><html><head/><body><p><img src=":/tags/community.svg" height=40 width=40 /></p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -478,7 +536,7 @@
|
||||
<widget class="QLabel" name="tag_dtk5">
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>30</width>
|
||||
<width>40</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
@@ -489,45 +547,26 @@
|
||||
<string><html><head/><body><p>This is a DTK5 app,which means it would have better effect on Deepin Desktop Environment</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string><html><head/><body><p><img src=":/tags/dtk-small.png"/></p></body></html></string>
|
||||
<string><html><head/><body><p><img src=":/tags/logo_icon.svg" height=40 width=40 /></p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="tag_deepin">
|
||||
<widget class="QLabel" name="tag_dwine2">
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>30</width>
|
||||
<width>40</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Capable to deepin 20</p></body></html></string>
|
||||
<string><html><head/><body><p>A deepin-wine2 app. Spark Store will automatically configure the wine kit for you.</p></body></html></string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string><html><head/><body><p>Capable to deepin 20</p></body></html></string>
|
||||
<string><html><head/><body><p>A deepin-wine2 app. Spark Store will automatically configure the wine kit for you.</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string><html><head/><body><p><img src=":/tags/deepin-small.png"/></p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="tag_a2d">
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>30</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>An Appimage to deb app.</p></body></html></string>
|
||||
</property>
|
||||
<property name="whatsThis">
|
||||
<string><html><head/><body><p>An Appimage to deb app.</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string><html><head/><body><p><img src=":/tags/a2d-small.png"/></p></body></html></string>
|
||||
<string><html><head/><body><p><img src=":/tags/dwine2-small.png" height=40 width=40 ></p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -535,7 +574,7 @@
|
||||
<widget class="QLabel" name="tag_dwine5">
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>30</width>
|
||||
<width>40</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
@@ -546,12 +585,12 @@
|
||||
<string><html><head/><body><p>A Wine app.Spark Store will automatically configure the wine kit for you</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string><html><head/><body><p><img src=":/tags/dwine5-small.png"/></p></body></html></string>
|
||||
<string><html><head/><body><p><img src=":/tags/dwine5.svg" height=40 width=40 /></p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer_6">
|
||||
<spacer name="horizontalSpacer_14">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
@@ -676,7 +715,7 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>482</width>
|
||||
<width>524</width>
|
||||
<height>601</height>
|
||||
</rect>
|
||||
</property>
|
||||
@@ -757,7 +796,6 @@
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
@@ -895,7 +933,6 @@
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
@@ -1060,7 +1097,6 @@ QListWidget::item::selected
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
|
||||
@@ -106,3 +106,5 @@ TRANSLATIONS += \
|
||||
qnx: target.path = /tmp/$${TARGET}/bin
|
||||
else: unix:!android: target.path = /opt/durapps/$${TARGET}/bin
|
||||
!isEmpty(target.path): INSTALLS += target
|
||||
|
||||
DISTFILES +=
|
||||
|
||||
@@ -7,6 +7,8 @@ Dir::State::lists "/var/lib/aptss/lists/";
|
||||
APT::Get::Fix-Broken true;
|
||||
APT::Get::List-Cleanup="0";
|
||||
|
||||
Acquire::GzipIndexes "false";
|
||||
|
||||
#clear APT::Update::Post-Invoke-Success;
|
||||
|
||||
#clear DPkg::Post-Invoke;
|
||||
|
||||
@@ -1,21 +1,25 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# apt-fast v1.9
|
||||
#
|
||||
# apt-fast v1.10.0
|
||||
# Use this just like aptitude or apt-get for faster package downloading.
|
||||
#
|
||||
# Copyright: 2008-2012 Matt Parnell, http://www.mattparnell.com
|
||||
# Improvements, maintenance, revisions - 2012, 2017-2018 Dominique Lasserre
|
||||
# Improvements, maintenance, revisions - 2012, 2017-2019 Dominique Lasserre
|
||||
#
|
||||
# You may distribute this file under the terms of the GNU General
|
||||
# Public License as published by the Free Software Foundation; either
|
||||
# version 3 of the License, or (at your option) any later version.
|
||||
#
|
||||
|
||||
shopt -s nullglob
|
||||
[ -n "$DEBUG" ] && set -xv
|
||||
|
||||
# Print colored messages.
|
||||
# Usage: msg "message text" "message type" "optional: err"
|
||||
# Message types are 'normal', 'hint' or 'warning'. Warnings and messages with a
|
||||
# third argument are piped to stderr.
|
||||
|
||||
THREADS=$(nproc 2>/dev/null || echo 4)
|
||||
msg(){
|
||||
msg_options=()
|
||||
case "$2" in
|
||||
@@ -34,7 +38,7 @@ msg(){
|
||||
}
|
||||
|
||||
# Search for known options and decide if root privileges are needed.
|
||||
root=1 # default value: we need root privileges
|
||||
root=$#
|
||||
option=
|
||||
for argument in "$@"; do
|
||||
case "$argument" in
|
||||
@@ -52,7 +56,7 @@ for argument in "$@"; do
|
||||
option="source"
|
||||
root=0
|
||||
;;
|
||||
changelog|search|policy)
|
||||
*)
|
||||
root=0
|
||||
;;
|
||||
esac
|
||||
@@ -70,7 +74,6 @@ TMP__APTMGR="${_APTMGR-${TMP_RANDOM}}"
|
||||
TMP_APTCACHE="${APTCACHE-${TMP_RANDOM}}"
|
||||
TMP_DLDIR="${DLDIR-${TMP_RANDOM}}"
|
||||
TMP_DLLIST="${DLLIST-${TMP_RANDOM}}"
|
||||
TMP_LISTDIR="${LISTDIR-${TMP_RANDOM}}"
|
||||
TMP__MAXNUM="${MAXNUM-${TMP_RANDOM}}"
|
||||
TMP__MAXCONPERSRV="${MAXCONPERSRV-${TMP_RANDOM}}"
|
||||
TMP__SPLITCON="${SPLITCON-${TMP_RANDOM}}"
|
||||
@@ -78,6 +81,7 @@ TMP__MINSPLITSZ=${MINSPLITSZ-${TMP_RANDOM}}
|
||||
TMP__PIECEALGO=${PIECEALGO-${TMP_RANDOM}}
|
||||
TMP_aptfast_prefix="${aptfast_prefix-${TMP_RANDOM}}"
|
||||
TMP_APT_FAST_TIMEOUT="${APT_FAST_TIMEOUT-${TMP_RANDOM}}"
|
||||
TMP_APT_FAST_APT_AUTH="${APT_FAST_APT_AUTH-${TMP_RANDOM}}"
|
||||
TMP_VERBOSE_OUTPUT="${VERBOSE_OUTPUT-${TMP_RANDOM}}"
|
||||
TMP_ftp_proxy="${ftp_proxy-${TMP_RANDOM}}"
|
||||
TMP_http_proxy="${http_proxy-${TMP_RANDOM}}"
|
||||
@@ -85,7 +89,7 @@ TMP_https_proxy="${https_proxy-${TMP_RANDOM}}"
|
||||
|
||||
# Check for proper privileges.
|
||||
# Call explicitly with environment variables to get them into root conext.
|
||||
if [ "$root" = 1 ] && [ "$UID" != 0 ]; then
|
||||
if [ "$root" -ne 0 ] && [ "$UID" != 0 ]; then
|
||||
exec sudo DEBUG="$DEBUG" \
|
||||
LCK_FILE="$TMP_LCK_FILE" \
|
||||
DOWNLOADBEFORE="$TMP_DOWNLOADBEFORE" \
|
||||
@@ -93,7 +97,6 @@ if [ "$root" = 1 ] && [ "$UID" != 0 ]; then
|
||||
APTCACHE="$TMP_APTCACHE" \
|
||||
DLDIR="$TMP_DLDIR" \
|
||||
DLLIST="$TMP_DLLIST" \
|
||||
LISTDIR="$TMP_LISTDIR" \
|
||||
_MAXNUM="$TMP__MAXNUM" \
|
||||
_MAXCONPERSRV="$TMP__MAXCONPERSRV" \
|
||||
_SPLITCON="$TMP__SPLITCON" \
|
||||
@@ -101,6 +104,7 @@ if [ "$root" = 1 ] && [ "$UID" != 0 ]; then
|
||||
_PIECEALGO="$TMP__PIECEALGO" \
|
||||
aptfast_prefix="$TMP_aptfast_prefix" \
|
||||
APT_FAST_TIMEOUT="$TMP_APT_FAST_TIMEOUT" \
|
||||
APT_FAST_APT_AUTH="$TMP_APT_FAST_APT_AUTH" \
|
||||
VERBOSE_OUTPUT="$TMP_VERBOSE_OUTPUT" \
|
||||
ftp_proxy="$TMP_ftp_proxy" \
|
||||
http_proxy="$TMP_http_proxy" \
|
||||
@@ -108,7 +112,6 @@ if [ "$root" = 1 ] && [ "$UID" != 0 ]; then
|
||||
"$0" "$@"
|
||||
fi
|
||||
|
||||
|
||||
# Define lockfile.
|
||||
# Use /tmp as directory because everybody (not only root) has to have write
|
||||
# permissions.
|
||||
@@ -123,27 +126,39 @@ LCK_FD=99
|
||||
|
||||
# Set default package manager, APT cache, temporary download dir,
|
||||
# temporary download list file, and maximal parallel downloads
|
||||
_APTMGR=apt-get
|
||||
_APTMGR=apt-get
|
||||
eval "$(apt-config shell APTCACHE Dir::Cache::archives/d)"
|
||||
# Check if APT config option Dir::Cache::archives::apt-fast-partial is set.
|
||||
eval "$(apt-config shell apt_fast_partial Dir::Cache::archives::apt-fast-partial/d)"
|
||||
if [ -z "$apt_fast_partial" ]; then
|
||||
eval "$(apt-config -o Dir::Cache::archives::apt-fast-partial=apt-fast shell DLDIR Dir::Cache::archives::apt-fast-partial/d)"
|
||||
DLDIR="$(realpath "${APTCACHE}/../apt-fast")"
|
||||
else
|
||||
eval "$(apt-config shell DLDIR Dir::Cache::archives::apt-fast-partial/d)"
|
||||
DLDIR="${apt_fast_partial}"
|
||||
fi
|
||||
# Currently not needed.
|
||||
eval "$(apt-config shell LISTDIR Dir::State::lists/d)"
|
||||
|
||||
# Check for apt auth files
|
||||
eval "$(apt-config shell NETRC Dir::Etc::netrc/f)"
|
||||
eval "$(apt-config shell NETRCDIR Dir::Etc::netrcparts/d)"
|
||||
APTAUTHFILES=()
|
||||
if [ -f "$NETRC" ]; then
|
||||
APTAUTHFILES=("$NETRC")
|
||||
fi
|
||||
APTAUTHFILES+=("$NETRCDIR"*)
|
||||
|
||||
if [ "$IS_ACE_ENV" != "" ];then
|
||||
DLLIST="/tmp/apt-fast-in-container.list"
|
||||
else
|
||||
DLLIST="/tmp/apt-fast.list"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
_MAXNUM=5
|
||||
_MAXCONPERSRV=10
|
||||
_SPLITCON=8
|
||||
_MINSPLITSZ="1M"
|
||||
_PIECEALGO="default"
|
||||
MIRRORS=()
|
||||
|
||||
# Prefix in front of apt-fast output:
|
||||
aptfast_prefix=
|
||||
@@ -162,6 +177,9 @@ APT_FAST_TIMEOUT=60
|
||||
# Ask for download confirmation if unset
|
||||
DOWNLOADBEFORE=
|
||||
|
||||
# Enable APT authentication support
|
||||
APT_FAST_APT_AUTH=1
|
||||
|
||||
# Formatted package list in download confirmation if unset
|
||||
VERBOSE_OUTPUT=
|
||||
|
||||
@@ -188,7 +206,6 @@ https_proxy=
|
||||
[ "$TMP_APTCACHE" = "$TMP_RANDOM" ] || APTCACHE="$TMP_APTCACHE"
|
||||
[ "$TMP_DLDIR" = "$TMP_RANDOM" ] || DLDIR="$TMP_DLDIR"
|
||||
[ "$TMP_DLLIST" = "$TMP_RANDOM" ] || DLLIST="$TMP_DLLIST"
|
||||
[ "$TMP_LISTDIR" = "$TMP_RANDOM" ] || LISTDIR="$TMP_LISTDIR"
|
||||
[ "$TMP__MAXNUM" = "$TMP_RANDOM" ] || _MAXNUM="$TMP__MAXNUM"
|
||||
[ "$TMP__MAXCONPERSRV" = "$TMP_RANDOM" ] || _MAXCONPERSRV="$TMP__MAXCONPERSRV"
|
||||
[ "$TMP__SPLITCON" = "$TMP_RANDOM" ] || _SPLITCON="$TMP__SPLITCON"
|
||||
@@ -196,6 +213,7 @@ https_proxy=
|
||||
[ "$TMP__PIECEALGO" = "$TMP_RANDOM" ] || _PIECEALGO="$TMP__PIECEALGO"
|
||||
[ "$TMP_aptfast_prefix" = "$TMP_RANDOM" ] || aptfast_prefix="$TMP_aptfast_prefix"
|
||||
[ "$TMP_APT_FAST_TIMEOUT" = "$TMP_RANDOM" ] || APT_FAST_TIMEOUT="$TMP_APT_FAST_TIMEOUT"
|
||||
[ "$TMP_APT_FAST_APT_AUTH" = "$TMP_RANDOM" ] || APT_FAST_APT_AUTH="$TMP_APT_FAST_APT_AUTH"
|
||||
[ "$TMP_VERBOSE_OUTPUT" = "$TMP_RANDOM" ] || VERBOSE_OUTPUT="$TMP_VERBOSE_OUTPUT"
|
||||
[ "$TMP_ftp_proxy" = "$TMP_RANDOM" ] || ftp_proxy="$TMP_ftp_proxy"
|
||||
[ "$TMP_http_proxy" = "$TMP_RANDOM" ] || http_proxy="$TMP_http_proxy"
|
||||
@@ -231,17 +249,25 @@ _create_lock()
|
||||
{
|
||||
eval "exec $LCK_FD>\"$LCK_FILE.lock\""
|
||||
|
||||
# trap "cleanup_aptfast; exit_cleanup_state" EXIT
|
||||
# This will hide the exit code
|
||||
# 设置 trap 来清理资源
|
||||
trap "cleanup_aptfast" EXIT
|
||||
trap "cleanup_aptfast; exit 1" INT TERM
|
||||
timer=0
|
||||
until $(flock -xn $LCK_FD);do
|
||||
msg_already_running
|
||||
sleep 1
|
||||
let timer+=1
|
||||
done
|
||||
unset timer
|
||||
|
||||
timer=0
|
||||
max_wait=180 # 最大等待时间为180秒(3分钟)
|
||||
|
||||
until $(flock -xn $LCK_FD); do
|
||||
msg_already_running
|
||||
sleep 1
|
||||
let timer+=1
|
||||
|
||||
if [ $timer -ge $max_wait ]; then
|
||||
echo "timeout"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
|
||||
unset timer
|
||||
}
|
||||
|
||||
# unlock and remove the lock file
|
||||
@@ -271,7 +297,8 @@ cleanup_dllist()
|
||||
|
||||
cleanup_aptfast()
|
||||
{
|
||||
[ "$CLEANUP_STATE" -eq 0 ] && CLEANUP_STATE=$?
|
||||
local last_exit_code=$?
|
||||
[ "$CLEANUP_STATE" -eq 0 ] && CLEANUP_STATE=$last_exit_code
|
||||
cleanup_dllist
|
||||
_remove_lock
|
||||
}
|
||||
@@ -300,7 +327,7 @@ get_mirrors(){
|
||||
for mirror in "${mirrors[@]}"; do
|
||||
# Real expension.
|
||||
if [[ "$1" == "$mirror"* ]]; then
|
||||
filepath=${1#${mirror}}
|
||||
filepath="${1#"${mirror}"}"
|
||||
# Build list for aria download list.
|
||||
list="${mirrors[*]:1}"
|
||||
echo -e "${list// /${filepath}\\t}$filepath\n"
|
||||
@@ -311,67 +338,128 @@ get_mirrors(){
|
||||
# No other mirrors found.
|
||||
echo "$1"
|
||||
}
|
||||
|
||||
##########SPARK ADJUST: END
|
||||
|
||||
AUTH_INFO_PARSED=()
|
||||
# Parse apt authentication files.
|
||||
# Undefined behavior on whitespaces in host, username or password.
|
||||
prepare_auth(){
|
||||
if [ "$APT_FAST_APT_AUTH" -eq 0 ]; then
|
||||
return
|
||||
fi
|
||||
for auth_file in "${APTAUTHFILES[@]}"; do
|
||||
# auth files have netrc syntax, possible multiline entries starting with "machine"
|
||||
auth_info="$(tr '\n' ' ' < "$auth_file" | sed 's/\(\<machine\>\)/\n\1/g' | sed '1d')"
|
||||
while IFS= read -r auth; do
|
||||
machine="$(echo "$auth" | sed 's/.*\<machine\>[ \t]\+\([^ \t]\+\).*/\1/')"
|
||||
login="$(echo "$auth" | sed 's/.*\<login\>[ \t]\+\([^ \t]\+\).*/\1/')"
|
||||
password="$(echo "$auth" | sed 's/.*\<password\>[ \t]\+\([^ \t]\+\).*/\1/')"
|
||||
# if machine does not have protocol, try https://
|
||||
if ! [[ "$machine" =~ ^.*:// ]]; then
|
||||
machine="https://$machine"
|
||||
fi
|
||||
if [ -z "$machine" ] || [ -z "$login" ] || [ -z "$password" ]; then
|
||||
msg "Could not parse apt authentication (skipping): $auth ($auth_file)" "warning"
|
||||
continue
|
||||
fi
|
||||
# use space separated string to convert back to array later
|
||||
AUTH_INFO_PARSED+=("$machine $login $password")
|
||||
done <<< "$auth_info"
|
||||
done
|
||||
}
|
||||
|
||||
# Gets URI as parameter and tries to add basic http credentials. Will fail on
|
||||
# credentials that contain characters that need URL-encoding.
|
||||
get_auth(){
|
||||
if [ "$APT_FAST_APT_AUTH" -eq 0 ]; then
|
||||
echo "$1"
|
||||
return
|
||||
fi
|
||||
for auth_info in "${AUTH_INFO_PARSED[@]}"; do
|
||||
# convert to array, don't escape variable here
|
||||
auth_info_arr=($auth_info)
|
||||
machine="${auth_info_arr[0]}"
|
||||
# takes first match
|
||||
if [[ "$1" == "$machine"* ]]; then
|
||||
login="${auth_info_arr[1]}"
|
||||
password="${auth_info_arr[2]}"
|
||||
uri="$(echo "$1" | sed "s|^\([^:]\+://\)|\1$login:$password@|")"
|
||||
echo "$uri"
|
||||
return
|
||||
fi
|
||||
done
|
||||
echo "$1"
|
||||
}
|
||||
|
||||
# Globals to save package name, version, size and overall size.
|
||||
DOWNLOAD_DISPLAY=
|
||||
DOWNLOAD_SIZE=0
|
||||
|
||||
# 获取包的URI
|
||||
# Get the package URLs.
|
||||
get_uris(){
|
||||
|
||||
if [ ! -d "$(dirname "$DLLIST")" ]
|
||||
then
|
||||
if ! mkdir -p -- "$(dirname "$DLLIST")"
|
||||
then
|
||||
msg "Could not create download file directory." "warning"
|
||||
msg "无法创建下载文件夹" "warning"
|
||||
exit 1
|
||||
msg "无法创建下载目录" "warning"
|
||||
CLEANUP_STATE=1
|
||||
exit
|
||||
fi
|
||||
elif [ -f "$DLLIST" ]; then
|
||||
if ! rm -f -- "$DLLIST" 2>/dev/null && ! touch -- "$DLLIST" 2>/dev/null
|
||||
then
|
||||
msg "Unable to write to download file. Try restarting with root permissions or run 'aptss clean' first." "warning"
|
||||
msg "Unable to write to download file. Try restarting with root permissions or run 'apt-fast clean' first." "warning"
|
||||
msg "无法下载文件。尝试使用root权限,或者运行 'aptss clean'" "warning"
|
||||
exit 1
|
||||
CLEANUP_STATE=1
|
||||
exit
|
||||
fi
|
||||
fi
|
||||
|
||||
# Add header to overwrite file.
|
||||
echo "# apt-fast mirror list: $(date)" > "$DLLIST"
|
||||
#NOTE: aptitude doesn't have this functionality, so we use apt-get to get
|
||||
# package URIs.
|
||||
# case "$_APTMGR" in
|
||||
# apt|apt-get) uri_mgr=$_APTMGR;;
|
||||
# *) uri_mgr=apt-get;;
|
||||
# esac
|
||||
# NOTE:apt可能出现变动,不建议在脚本中使用,因此在此统一改用apt-get
|
||||
uri_mgr=apt-get
|
||||
# NOTE: "aptitude" doesn't have this functionality
|
||||
# so we use "${_APTMGR}" to get package URI's
|
||||
case "$(basename "${_APTMGR}")" in
|
||||
'apt'|'apt-get') uri_mgr="${_APTMGR}";;
|
||||
*) uri_mgr='apt-get';;
|
||||
esac
|
||||
uris_full="$("$uri_mgr" "${APT_SCRIPT_WARNING[@]}" -y --print-uris "$@")"
|
||||
uris_full_ret="$?"
|
||||
if [ "$uris_full_ret" -ne 0 ]
|
||||
CLEANUP_STATE="$?"
|
||||
if [ "$CLEANUP_STATE" -ne 0 ]
|
||||
then
|
||||
msg "Package manager quit with exit code.Here is the log" "warning"
|
||||
msg "包管理器以错误代码退出.日志如下" "warning"
|
||||
msg "${uris_full}"
|
||||
exit "$uris_full_ret"
|
||||
exit "$CLEANUP_STATE"
|
||||
fi
|
||||
while read -r pkg_uri_info
|
||||
do
|
||||
[ -z "$pkg_uri_info" ] && continue
|
||||
## --print-uris format is:
|
||||
# 'fileurl' filename filesize checksum_hint:filechecksum
|
||||
uri="$(echo "$pkg_uri_info" | cut -d' ' -f1 | tr -d "'")"
|
||||
filename="$(echo "$pkg_uri_info" | cut -d' ' -f2)"
|
||||
filesize="$(echo "$pkg_uri_info" | cut -d' ' -f3)"
|
||||
checksum_string="$(echo "$pkg_uri_info" | cut -d' ' -f4)"
|
||||
hash_algo="$(echo "$checksum_string" | cut -d':' -f1)"
|
||||
checksum="$(echo "$checksum_string" | cut -d':' -f2)"
|
||||
prepare_auth
|
||||
local tmpdir=$(mktemp -d) || {
|
||||
msg "Failed to create tmp dir" "warning"
|
||||
msg "无法创建临时目录" "warning"
|
||||
exit 1
|
||||
}
|
||||
## --print-uris format is:
|
||||
# 'fileurl' filename filesize checksum_hint:filechecksum
|
||||
process_package() {
|
||||
local pkg_uri_info="$@"
|
||||
|
||||
local display_line="" # 添加局部变量并初始化为空
|
||||
|
||||
IFS=' ' read -r uri filename filesize checksum_string _ <<<"$pkg_uri_info"
|
||||
[ -z "$uri" ] && continue
|
||||
uri="$(get_auth "${uri//"'"/}")"
|
||||
IFS=':' read -r hash_algo checksum _ <<<"$checksum_string"
|
||||
|
||||
filename_decoded="$(urldecode "$filename")"
|
||||
DOWNLOAD_DISPLAY="${DOWNLOAD_DISPLAY}$(echo "$filename_decoded" | cut -d'_' -f1)"
|
||||
DOWNLOAD_DISPLAY="${DOWNLOAD_DISPLAY} $(echo "$filename_decoded" | cut -d'_' -f2)"
|
||||
DOWNLOAD_DISPLAY="${DOWNLOAD_DISPLAY} $(echo "$filesize" | numfmt --to=iec-i --suffix=B)\n"
|
||||
DOWNLOAD_SIZE=$((DOWNLOAD_SIZE + filesize))
|
||||
IFS='_' read -r pkg_name_decoded pkg_version_decoded _ <<<"$filename_decoded"
|
||||
|
||||
|
||||
|
||||
display_line="${display_line}$pkg_name_decoded $pkg_version_decoded"
|
||||
display_line="${display_line} $(echo "$filesize" | numfmt --to=iec-i --suffix=B)\n"
|
||||
|
||||
## whole uri comes encoded (urlencoded). Filename must NOT be decoded because
|
||||
# plain aptitude do not decode it when download and install it. Therefore, we
|
||||
@@ -389,40 +477,44 @@ uri_mgr=apt-get
|
||||
*) hash_algo=
|
||||
esac
|
||||
|
||||
# Using apt-cache show package=version to ensure recover single and
|
||||
|
||||
# Using apt-cache show package=version to ensure recover single and
|
||||
# correct package version.
|
||||
# Warning: assuming that package naming uses '_' as field separator.
|
||||
# Therefore, this code expects package-name_version_arch.deb Otherways
|
||||
# Therefore, this code expects package-name_version_arch.deb Otherwise
|
||||
# below code will fail resoundingly
|
||||
if [ -z "$hash_algo" ]; then
|
||||
pkg_name="$(echo "$filename" | cut -d'_' -f1)"
|
||||
pkg_version="$(echo "$filename" | cut -d'_' -f2)"
|
||||
pkg_version="$(urldecode "$pkg_version")"
|
||||
package_info="$(apt-cache show "$pkg_name=$pkg_version")"
|
||||
IFS='_' read -r pkg_name _ <<<"$filename"
|
||||
pkg_version="$pkg_version_decoded"
|
||||
# Transform multi-line field output from apt-cache to single line and sort checksums, strongest first
|
||||
package_info="$(apt-cache show "$pkg_name=$pkg_version" | sed ':r;$!{N;br};s/\n / /g' | sort -r)"
|
||||
|
||||
patch_checksum=
|
||||
if [ -n "$SHA512_SUPPORTED" ]; then
|
||||
patch_checksum="$(echo "$package_info" | grep SHA512 | head -n 1)"
|
||||
[ -n "$patch_checksum" ] && hash_algo="sha-512"
|
||||
fi
|
||||
if [ -z "$patch_checksum" ] && [ -n "$SHA256_SUPPORTED" ]; then
|
||||
patch_checksum="$(echo "$package_info" | grep SHA256 | head -n 1)"
|
||||
[ -n "$patch_checksum" ] && hash_algo="sha-256"
|
||||
fi
|
||||
if [ -z "$patch_checksum" ] && [ -n "$SHA1_SUPPORTED" ]; then
|
||||
patch_checksum="$(echo "$package_info" | grep SHA1 | head -n 1)"
|
||||
[ -n "$patch_checksum" ] && hash_algo="sha-1"
|
||||
fi
|
||||
if [ -z "$patch_checksum" ] && [ -n "$MD5sum_SUPPORTED" ]; then
|
||||
patch_checksum="$(echo "$package_info" | grep MD5sum | head -n 1)"
|
||||
[ -n "$patch_checksum" ] && hash_algo="md5"
|
||||
fi
|
||||
while IFS=': ' read -r field checksum _
|
||||
do
|
||||
case "$field" in
|
||||
SHA512)
|
||||
[ -n "$SHA512_SUPPORTED" ] || continue
|
||||
hash_algo="sha-512"
|
||||
break ;;
|
||||
SHA256)
|
||||
[ -n "$SHA256_SUPPORTED" ] || continue
|
||||
hash_algo="sha-256"
|
||||
break ;;
|
||||
SHA1)
|
||||
[ -n "$SHA1_SUPPORTED" ] || continue
|
||||
hash_algo="sha-1"
|
||||
break ;;
|
||||
MD5sum)
|
||||
[ -n "$MD5sum_SUPPORTED" ] || continue
|
||||
hash_algo="md5"
|
||||
break ;;
|
||||
esac
|
||||
done <<<"$package_info"
|
||||
|
||||
if [ -n "$patch_checksum" ]; then
|
||||
checksum="$(echo "$patch_checksum" | cut -d' ' -f2)"
|
||||
else
|
||||
if [ -z "$hash_algo" ]; then
|
||||
checksum=
|
||||
msg "Couldn't get supported checksum for $pkg_name ($pkg_version)." "warning"
|
||||
msg "无法获得 $pkg_name ($pkg_version) 的受支持的散列验证值" "warning"
|
||||
msg "无法获得 $pkg_name ($pkg_version) 版本受到支持的散列验证值" "warning"
|
||||
REMOVE_WORKING_MESSAGE=
|
||||
fi
|
||||
fi
|
||||
@@ -430,21 +522,64 @@ uri_mgr=apt-get
|
||||
hash_algo=
|
||||
fi
|
||||
|
||||
{
|
||||
get_mirrors "$uri"
|
||||
#echo " dir=$DLDIR"
|
||||
if [ -n "$hash_algo" ]; then
|
||||
echo " checksum=$hash_algo=$checksum"
|
||||
fi
|
||||
echo " out=$filename"
|
||||
} >> "$DLLIST"
|
||||
done <<<"$(echo "$uris_full" | grep -E "^'(http(s|)|(s|)ftp)://")"
|
||||
|
||||
# 使用文件锁安全写入下载列表
|
||||
(
|
||||
flock -x 200 # 获取排他锁
|
||||
{
|
||||
get_mirrors "$uri"
|
||||
[ -n "$hash_algo" ] && echo " checksum=$hash_algo=$checksum"
|
||||
echo " out=$filename"
|
||||
} >> "$DLLIST"
|
||||
) 200>>"$DLLIST" # 使用文件描述符200关联锁文件
|
||||
|
||||
# 将显示信息和文件大小存入临时文件
|
||||
echo "$display_line" >> "$tmpdir/display"
|
||||
echo "$filesize" >> "$tmpdir/sizes"
|
||||
}
|
||||
|
||||
# 主并行处理逻辑(新增线程控制)
|
||||
mapfile -t pkg_uri_list < <(echo "$uris_full" | grep -E "^'(http(s|)|(s|)ftp)://")
|
||||
total_pkgs=${#pkg_uri_list[@]}
|
||||
threads=${THREADS:-4} # 默认4线程
|
||||
per_thread=$(( (total_pkgs + threads - 1) / threads )) # 向上取整
|
||||
|
||||
# 分割任务到不同线程
|
||||
for ((i=0; i<threads; i++)); do
|
||||
start=$((i * per_thread))
|
||||
end=$((start + per_thread -1))
|
||||
[ $end -ge $total_pkgs ] && end=$((total_pkgs -1))
|
||||
|
||||
# 启动后台线程处理任务块
|
||||
(
|
||||
for ((j=start; j<=end; j++)); do
|
||||
[ -z "${pkg_uri_list[j]}" ] && continue
|
||||
process_package "${pkg_uri_list[j]}"
|
||||
done
|
||||
) &
|
||||
done
|
||||
|
||||
# 等待所有后台任务完成
|
||||
wait
|
||||
|
||||
# 合并显示信息
|
||||
if [ -f "$tmpdir/display" ]; then
|
||||
DOWNLOAD_DISPLAY+="\n$(cat "$tmpdir/display")"
|
||||
fi
|
||||
|
||||
# 计算总下载大小
|
||||
if [ -f "$tmpdir/sizes" ]; then
|
||||
DOWNLOAD_SIZE=$(awk '{sum+=$1} END{print sum}' "$tmpdir/sizes")
|
||||
fi
|
||||
|
||||
# 清理临时目录
|
||||
rm -rf "$tmpdir"
|
||||
|
||||
#cat "$DLLIST"
|
||||
#LCK_RM
|
||||
#exit
|
||||
}
|
||||
|
||||
|
||||
display_downloadfile(){
|
||||
if [ -n "$VERBOSE_OUTPUT" ]; then
|
||||
cat "$DLLIST"
|
||||
@@ -452,11 +587,8 @@ display_downloadfile(){
|
||||
DISPLAY_SORT_OPTIONS=(-k 1,1)
|
||||
# Sort output after package download size (decreasing):
|
||||
#DISPLAY_SORT_OPTIONS=(-k 3,3 -hr)
|
||||
while read -r line; do
|
||||
[ -z "$line" ] && continue
|
||||
pkg="$(echo "$line" | cut -d' ' -f1)"
|
||||
ver="$(echo "$line" | cut -d' ' -f2)"
|
||||
size="$(echo "$line" | cut -d' ' -f3)"
|
||||
while IFS=' ' read -r pkg ver size _; do
|
||||
[ -z "$pkg" ] && continue
|
||||
printf '%s%-40s %-20s %10s\n' "$aptfast_prefix" "$pkg" "$ver" "$size"
|
||||
done <<<"$(echo -e "$DOWNLOAD_DISPLAY" | sort "${DISPLAY_SORT_OPTIONS[@]}")"
|
||||
fi
|
||||
@@ -464,6 +596,7 @@ display_downloadfile(){
|
||||
msg "下载大小: $(echo "$DOWNLOAD_SIZE" | numfmt --to=iec-i --suffix=B)" "normal"
|
||||
}
|
||||
|
||||
|
||||
# Create and insert a PID number to lockfile.
|
||||
|
||||
_create_lock
|
||||
@@ -473,19 +606,21 @@ CMD="$(echo "$_DOWNLOADER" | sed 's/^\s*\([^ ]\+\).*$/\1/')"
|
||||
if [ ! "$(command -v "$CMD")" ]; then
|
||||
msg "Command not found: $CMD" "normal" "err"
|
||||
msg "You must configure $CONFFILE to use aria2c or another supported download manager" "normal" "err"
|
||||
exit 1
|
||||
CLEANUP_STATE=1
|
||||
exit
|
||||
fi
|
||||
|
||||
# Make sure package manager is available.
|
||||
if [ ! "$(command -v "$_APTMGR")" ]; then
|
||||
msg "\`$_APTMGR\` command not available." "warning"
|
||||
msg "You must configure $CONFFILE to use either apt-get or aptitude." "normal" "err"
|
||||
exit 1
|
||||
CLEANUP_STATE=1
|
||||
exit
|
||||
fi
|
||||
|
||||
# Disable script warning if apt is used.
|
||||
APT_SCRIPT_WARNING=()
|
||||
if [ "$_APTMGR" == "apt" ]; then
|
||||
if [ "$(basename "${_APTMGR}")" == 'apt' ]; then
|
||||
APT_SCRIPT_WARNING=(-o "Apt::Cmd::Disable-Script-Warning=true")
|
||||
fi
|
||||
|
||||
@@ -532,6 +667,8 @@ while true; do
|
||||
d)
|
||||
DOWNLOAD_ONLY=true
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
done
|
||||
((OPTIND++))
|
||||
@@ -574,7 +711,7 @@ if [ "$option" == "install" ]; then
|
||||
msg "Do you want to download the packages? [Y/n] " "question"
|
||||
|
||||
while ((!updsys)); do
|
||||
read -r -sn1 -t "$APT_FAST_TIMEOUT" answer || { msg; msg "Timed out." "warning"; exit 1; }
|
||||
read -r -sn1 -t "$APT_FAST_TIMEOUT" answer || { msg; msg "Timed out." "warning"; CLEANUP_STATE=1; exit; }
|
||||
case "$answer" in
|
||||
[JjYy]) result=1; updsys=1 ;;
|
||||
[Nn]) result=0; updsys=1 ;;
|
||||
@@ -596,7 +733,7 @@ if [ "$option" == "install" ]; then
|
||||
mkdir -p -- "$DLDIR"
|
||||
fi
|
||||
|
||||
cd "$DLDIR" &>/dev/null || exit 1
|
||||
cd "$DLDIR" &>/dev/null || { msg; msg "Not able to change into download directory." "warning"; CLEANUP_STATE=1; exit; }
|
||||
|
||||
eval "${_DOWNLOADER}" # execute downloadhelper command
|
||||
if [ "$(find "$DLDIR" -printf . | wc -c)" -gt 1 ]; then
|
||||
@@ -616,22 +753,26 @@ if [ "$option" == "install" ]; then
|
||||
cd - &>/dev/null || msg "Failed to change back directory" "warning"
|
||||
fi
|
||||
else
|
||||
exit 1
|
||||
CLEANUP_STATE=1
|
||||
exit
|
||||
fi
|
||||
else
|
||||
[ -t 1 ] && tput el
|
||||
fi
|
||||
|
||||
if [ -z "$DOWNLOAD_ONLY" ] || [ "$_APTMGR" == "aptitude" ]; then
|
||||
# different problem resolving for aptitude
|
||||
if [ -z "$DOWNLOAD_ONLY" ] || [ "$(basename "${_APTMGR}")" == 'aptitude' ]; then
|
||||
"${_APTMGR}" "${APT_SCRIPT_WARNING[@]}" "$@"
|
||||
fi
|
||||
|
||||
|
||||
elif [ "$option" == "clean" ]; then
|
||||
"${_APTMGR}" "${APT_SCRIPT_WARNING[@]}" "$@" && {
|
||||
find "$DLDIR" -maxdepth 1 -type f -delete
|
||||
CLEANUP_STATE="$?"
|
||||
[ -f "$DLLIST" ] && rm -f -- "$DLLIST"* || true
|
||||
if [ -d "$DLDIR" ]; then
|
||||
find "$DLDIR" -maxdepth 1 -type f -delete
|
||||
CLEANUP_STATE="$?"
|
||||
[ -f "$DLLIST" ] && rm -f -- "$DLLIST"* || true
|
||||
fi
|
||||
}
|
||||
|
||||
elif [ "$option" == "download" ]; then
|
||||
@@ -649,7 +790,8 @@ elif [ "$option" == "download" ]; then
|
||||
eval "${_DOWNLOADER}"
|
||||
fi
|
||||
|
||||
if [ "$_APTMGR" == "aptitude" ]; then
|
||||
# different problem resolving for aptitude
|
||||
if [ "$(basename "${_APTMGR}")" == 'aptitude' ]; then
|
||||
"${_APTMGR}" "$@"
|
||||
fi
|
||||
|
||||
|
||||
35
tool/aptss
@@ -3,6 +3,7 @@
|
||||
SPARK_DOWNLOAD_SERVER_URL="https://d.spark-app.store/"
|
||||
SPARK_DOWNLOAD_SERVER_URL_NO_PROTOCOL="d.spark-app.store"
|
||||
source /opt/durapps/spark-store/bin/bashimport/transhell.amber
|
||||
source /opt/durapps/spark-store/bin/bashimport/log.amber
|
||||
load_transhell
|
||||
|
||||
case `arch` in
|
||||
@@ -26,7 +27,17 @@ is_empty_dir(){
|
||||
return `ls -A $1|wc -w`
|
||||
}
|
||||
|
||||
function update_list(){
|
||||
curl --progress-bar -o /opt/durapps/spark-store/bin/apt-fast-conf/sources.list.d/sparkstore.list "${SPARK_DOWNLOAD_SERVER_URL}/sparkstore${STORE_LIST_URL}.list"
|
||||
log.info "sparkstore${STORE_LIST_URL}.list update done"
|
||||
}
|
||||
|
||||
function update_conf(){
|
||||
mkdir -p /tmp/aptss-conf/
|
||||
curl --progress-bar -o /tmp/aptss-conf/apt-fast.conf "${SPARK_DOWNLOAD_SERVER_URL}/apt-fast.conf"
|
||||
log.info "apt-fast.conf update done"
|
||||
chmod -R 755 /tmp/aptss-conf
|
||||
}
|
||||
|
||||
if [ "$(id -u)" != "0" ];then
|
||||
#############################无root权限时
|
||||
@@ -46,8 +57,7 @@ if [ ! -e "/tmp/aptss-conf/apt-fast.conf" ];then
|
||||
mkdir -p /tmp/aptss-conf/
|
||||
echo -e "\e[1;32m${TRANSHELL_CONTENT_GETTING_SERVER_CONFIG_AND_MIRROR_LIST}\e[0m"
|
||||
echo
|
||||
curl --progress-bar -o /tmp/aptss-conf/apt-fast.conf "${SPARK_DOWNLOAD_SERVER_URL}/apt-fast.conf"
|
||||
chmod -R 755 /tmp/aptss-conf
|
||||
update_conf
|
||||
|
||||
fi
|
||||
|
||||
@@ -57,11 +67,9 @@ if [ ! -e "/var/lib/aptss/lists/${SPARK_DOWNLOAD_SERVER_URL_NO_PROTOCOL}_${STORE
|
||||
mkdir -p /tmp/aptss-conf/
|
||||
echo -e "\e[1;32m${TRANSHELL_CONTENT_GETTING_SERVER_CONFIG_AND_MIRROR_LIST}\e[0m"
|
||||
echo
|
||||
curl --silent -o /tmp/aptss-conf/apt-fast.conf "${SPARK_DOWNLOAD_SERVER_URL}/apt-fast.conf"
|
||||
chmod -R 755 /tmp/aptss-conf
|
||||
|
||||
curl --silent -o /opt/durapps/spark-store/bin/apt-fast-conf/sources.list.d/sparkstore.list "${SPARK_DOWNLOAD_SERVER_URL}/sparkstore${STORE_LIST_URL}.list"
|
||||
/usr/bin/apt update -c /opt/durapps/spark-store/bin/apt-fast-conf/aptss-apt.conf
|
||||
update_list
|
||||
update_conf
|
||||
|
||||
#只更新星火源
|
||||
|
||||
@@ -93,12 +101,11 @@ elif [ "$1" = "ssupdate" ];then
|
||||
mkdir -p /tmp/aptss-conf/
|
||||
echo -e "\e[1;32m${TRANSHELL_CONTENT_GETTING_SERVER_CONFIG_AND_MIRROR_LIST}\e[0m"
|
||||
echo
|
||||
curl --silent -o /tmp/aptss-conf/apt-fast.conf "${SPARK_DOWNLOAD_SERVER_URL}/apt-fast.conf"
|
||||
chmod -R 755 /tmp/aptss-conf
|
||||
|
||||
curl --silent -o /opt/durapps/spark-store/bin/apt-fast-conf/sources.list.d/sparkstore.list "${SPARK_DOWNLOAD_SERVER_URL}/sparkstore${STORE_LIST_URL}.list"
|
||||
|
||||
|
||||
|
||||
update_list
|
||||
update_conf
|
||||
|
||||
/usr/bin/apt update -c /opt/durapps/spark-store/bin/apt-fast-conf/aptss-apt.conf -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0" -o Dir::Etc::sourcelist="/opt/durapps/spark-store/bin/apt-fast-conf/sources.list.d/sparkstore.list"
|
||||
|
||||
#只更新星火源
|
||||
@@ -107,10 +114,8 @@ elif [ "$1" = "update" ];then
|
||||
|
||||
echo -e "\e[1;32m${TRANSHELL_CONTENT_GETTING_SERVER_CONFIG_AND_MIRROR_LIST}\e[0m"
|
||||
echo
|
||||
curl --progress-bar -o /opt/durapps/spark-store/bin/apt-fast-conf/sources.list.d/sparkstore.list "${SPARK_DOWNLOAD_SERVER_URL}/sparkstore${STORE_LIST_URL}.list"
|
||||
mkdir -p /tmp/aptss-conf/
|
||||
curl --progress-bar -o /tmp/aptss-conf/apt-fast.conf "${SPARK_DOWNLOAD_SERVER_URL}/apt-fast.conf"
|
||||
chmod -R 755 /tmp/aptss-conf
|
||||
update_list
|
||||
update_conf
|
||||
### 额外一份拿来给aptss自动补全用
|
||||
|
||||
${SS_APT_FAST} "$@" -c /opt/durapps/spark-store/bin/apt-fast-conf/aptss-apt.conf
|
||||
|
||||
5
tool/bashimport/log.amber
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
log.warn() { echo -e "[\e[33mWARN\e[0m]: \e[1m$*\e[0m"; }
|
||||
log.error() { echo -e "[\e[31mERROR\e[0m]: \e[1m$*\e[0m"; }
|
||||
log.info() { echo -e "[\e[96mINFO\e[0m]: \e[1m$*\e[0m"; }
|
||||
log.debug() { echo -e "[\e[32mDEBUG\e[0m]: \e[1m$*\e[0m"; }
|
||||
BIN
tool/ss-feedback/sender-d-amd64
Executable file
BIN
tool/ss-feedback/sender-d-arm64
Executable file
BIN
tool/ss-feedback/sender-d-loong64
Executable file
@@ -123,7 +123,7 @@ DEBPATH=$(realpath "$1")
|
||||
exit "$try_run_ret"
|
||||
fi
|
||||
|
||||
aptss install "$DEBPATH" -yf --reinstall
|
||||
dpkg -i "$DEBPATH" || aptss install "$DEBPATH" -yf
|
||||
|
||||
if [ "$?" = "0" ] && [ "$2" = "--delete-after-install" ]; then
|
||||
if dpkg -s "$package_name" >/dev/null 2>&1; then
|
||||
|
||||
@@ -118,7 +118,7 @@ if [ ! -f "$1" ]; then
|
||||
PACKAGE_NAME=$(echo "$FILENAME" | sed -r 's/^([^_]+)_.*$/\1/')
|
||||
VERSION=$(echo "$FILENAME" | sed -r 's/^[^_]+_([^_]+)_.*$/\1/')
|
||||
pushd ${FILEPATH}
|
||||
aptss download ${PACKAGE_NAME}=${VERSION}
|
||||
aptss download ${PACKAGE_NAME}
|
||||
popd
|
||||
if [ ! -f "$1" ]; then
|
||||
echo "OMG-IT-GOES-WRONG"
|
||||
@@ -166,7 +166,7 @@ if [ ! -z "$IS_SHA512SUM_CHECKED" ]; then
|
||||
exit "$try_run_ret"
|
||||
fi
|
||||
|
||||
aptss install "$DEBPATH" -yf --reinstall
|
||||
dpkg -i "$DEBPATH" || aptss install "$DEBPATH" -yf
|
||||
|
||||
unlock_file "$DEBPATH"
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
#!/bin/bash
|
||||
dpkg -l | grep "^ii" | grep -w "$1" > /dev/null
|
||||
dpkg -l | grep "^ii $1 " > /dev/null
|
||||
|
||||
@@ -41,12 +41,13 @@ function log.debug() { log.log "debug" $@; }
|
||||
|
||||
function scan_desktop_file_log(){
|
||||
unset desktop_file_path
|
||||
package_name=$1
|
||||
for desktop_file_path in $(dpkg -L "$1" |grep /usr/share/applications/ | awk '/\.desktop$/ {print}'); do
|
||||
if [ "$(cat $desktop_file_path | grep NoDisplay=true)" = "" ];then
|
||||
log.info "$desktop_file_path is found."
|
||||
fi
|
||||
done
|
||||
for desktop_file_path in $(dpkg -L "$1" |grep /opt/apps/$package_name/entries/applications | awk '/\.desktop$/ {print}'); do
|
||||
for desktop_file_path in $(dpkg -L "$1" |grep /opt/apps/$package_name/entries/applications/ | awk '/\.desktop$/ {print}'); do
|
||||
if [ "$(cat $desktop_file_path | grep NoDisplay=true)" = "" ];then
|
||||
log.info "$desktop_file_path is found."
|
||||
fi
|
||||
@@ -100,7 +101,7 @@ function launch_app(){
|
||||
log.info "Command is $exec_command"
|
||||
|
||||
# 在默认终端执行命令
|
||||
eval "$exec_command"
|
||||
bash -c $exec_command
|
||||
}
|
||||
|
||||
if [ "$#" -lt 2 ];then
|
||||
|
||||
@@ -1,13 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ "$(id -u)" != "0" ] ; then
|
||||
if [ "$IS_ACE_ENV" = "1" ];then
|
||||
/opt/durapps/spark-store/bin/store-helper/pass-auth.sh "$0" "$@"
|
||||
else
|
||||
pkexec "$0" "$@"
|
||||
exit
|
||||
fi
|
||||
if [ "$IS_ACE_ENV" = "1" ] ; then
|
||||
/opt/durapps/spark-store/bin/store-helper/pass-auth.sh "$0" "$@"
|
||||
else
|
||||
xhost +
|
||||
pkexec "$0" "$@"
|
||||
exit
|
||||
fi
|
||||
fi
|
||||
trap "rm -f /tmp/spark-store/upgradeStatus.txt" EXIT
|
||||
HERE=$(dirname $0)
|
||||
trap "rm -f /tmp/spark-store/upgradeStatus.txt" EXIT
|
||||
source /opt/durapps/spark-store/bin/bashimport/transhell.amber
|
||||
load_transhell_debug
|
||||
|
||||
@@ -17,57 +20,58 @@ function get_name_from_desktop_file() {
|
||||
local name_i18n
|
||||
local package_name
|
||||
package_name=$1
|
||||
for desktop_file_path in $(dpkg -L "$package_name" |grep /usr/share/applications/ | awk '/\.desktop$/ {print}'); do
|
||||
if [ "$(grep -m 1 '^NoDisplay=' "$desktop_file_path" | cut -d '=' -f 2)" = "true" ] || [ "$(grep -m 1 '^NoDisplay=' "$desktop_file_path" | cut -d '=' -f 2)" = "True" ];then
|
||||
continue
|
||||
else
|
||||
name_orig=$(grep -m 1 '^Name=' "$desktop_file_path" | cut -d '=' -f 2)
|
||||
name_i18n=$(grep -m 1 "^Name\[${LANGUAGE}\]\=" "$desktop_file_path" | cut -d '=' -f 2)
|
||||
if [ -z "$name_i18n" ] ;then
|
||||
app_name_in_desktop=$name_orig
|
||||
for desktop_file_path in $(dpkg -L "$package_name" |grep /usr/share/applications/ | awk '/\.desktop$/ {print}') ; do
|
||||
if [ "$(grep -m 1 '^NoDisplay=' "$desktop_file_path" | cut -d '=' -f 2)" = "true" ] || [ "$(grep -m 1 '^NoDisplay=' "$desktop_file_path" | cut -d '=' -f 2)" = "True" ] ; then
|
||||
continue
|
||||
else
|
||||
app_name_in_desktop=$name_i18n
|
||||
name_orig=$(awk -F= '/^\[Desktop Entry\]$/ {found=1} found && /^Name=/ {print $2; exit} /^\[.*\]$/ && !/\[Desktop Entry\]/ {exit}' "$desktop_file_path")
|
||||
name_i18n=$(awk -v lang="Name[$LANGUAGE]" -F= '/^\[Desktop Entry\]$/ {found=1} found && /^Name\[/ && $1 == lang {print $2; exit} /^\[.*\]$/ && !/\[Desktop Entry\]/ {exit}' "$desktop_file_path")
|
||||
if [ -z "$name_i18n" ] ; then
|
||||
app_name_in_desktop=$name_orig
|
||||
else
|
||||
app_name_in_desktop=$name_i18n
|
||||
fi
|
||||
fi
|
||||
|
||||
fi
|
||||
done
|
||||
for desktop_file_path in $(dpkg -L "$package_name" |grep /opt/apps/$package_name/entries/applications | awk '/\.desktop$/ {print}'); do
|
||||
if [ "$(grep -m 1 '^NoDisplay=' "$desktop_file_path" | cut -d '=' -f 2)" = "true" ] || [ "$(grep -m 1 '^NoDisplay=' "$desktop_file_path" | cut -d '=' -f 2)" = "True" ];then
|
||||
continue
|
||||
else
|
||||
name_orig=$(grep -m 1 '^Name=' "$desktop_file_path" | cut -d '=' -f 2)
|
||||
name_i18n=$(grep -m 1 "^Name\[${LANGUAGE}\]\=" "$desktop_file_path" | cut -d '=' -f 2)
|
||||
if [ -z "$name_i18n" ] ;then
|
||||
app_name_in_desktop=$name_orig
|
||||
else
|
||||
app_name_in_desktop=$name_i18n
|
||||
fi
|
||||
|
||||
fi
|
||||
done
|
||||
if [ -z "$app_name_in_desktop" ] ;then
|
||||
app_name_in_desktop=${package_name}
|
||||
fi
|
||||
echo ${app_name_in_desktop}
|
||||
|
||||
for desktop_file_path in $(dpkg -L "$package_name" |grep /opt/apps/$package_name/entries/applications | awk '/\.desktop$/ {print}') ; do
|
||||
if [ "$(grep -m 1 '^NoDisplay=' "$desktop_file_path" | cut -d '=' -f 2)" = "true" ] || [ "$(grep -m 1 '^NoDisplay=' "$desktop_file_path" | cut -d '=' -f 2)" = "True" ] ; then
|
||||
continue
|
||||
else
|
||||
name_orig=$(awk -F= '/^\[Desktop Entry\]$/ {found=1} found && /^Name=/ {print $2; exit} /^\[.*\]$/ && !/\[Desktop Entry\]/ {exit}' "$desktop_file_path")
|
||||
name_i18n=$(awk -v lang="Name[$LANGUAGE]" -F= '/^\[Desktop Entry\]$/ {found=1} found && /^Name\[/ && $1 == lang {print $2; exit} /^\[.*\]$/ && !/\[Desktop Entry\]/ {exit}' "$desktop_file_path")
|
||||
if [ -z "$name_i18n" ] ; then
|
||||
app_name_in_desktop=$name_orig
|
||||
else
|
||||
app_name_in_desktop=$name_i18n
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -z "$app_name_in_desktop" ] ; then
|
||||
app_name_in_desktop=${package_name}
|
||||
fi
|
||||
|
||||
echo ${app_name_in_desktop}
|
||||
}
|
||||
|
||||
touch /tmp/spark-store/upgradeStatus.txt
|
||||
|
||||
# 执行 apt update
|
||||
pkexec /opt/durapps/spark-store/bin/update-upgrade/ss-do-upgrade-worker.sh ssupdate | zenity --progress --auto-close --pulsate --no-cancel --text="${TRANSHELL_CONTENT_UPDATE_CHEKING_PLEASE_WAIT}" --height 70 --width 400 --title="${TRANSHELL_CONTENT_SPARK_STORE_UPGRADE_MODEL}" --window-icon=/usr/share/icons/hicolor/scalable/apps/spark-store.svg
|
||||
pkexec ${HERE}/ss-do-upgrade-worker.sh ssupdate 2>&1 > /dev/null | zenity --progress --auto-close --pulsate --no-cancel --text="${TRANSHELL_CONTENT_UPDATE_CHEKING_PLEASE_WAIT}" --height 70 --width 400 --title="${TRANSHELL_CONTENT_SPARK_STORE_UPGRADE_MODEL}" --window-icon=/usr/share/icons/hicolor/scalable/apps/spark-store.svg
|
||||
|
||||
if [ -z `cat /tmp/spark-store-app-ssupdate-status.txt` ] ; then
|
||||
/opt/durapps/spark-store/bin/update-upgrade/ss-do-upgrade-worker.sh clean-log
|
||||
${HERE}/ss-do-upgrade-worker.sh clean-log
|
||||
else
|
||||
zenity --error --text "${TRANSHELL_CONTENT_CHECK_UPDATE_PROCESS_ERROR_PRESS_CONFIRM_TO_CHECK}" --title "${TRANSHELL_CONTENT_SPARK_STORE_UPGRADE_MODEL}" --height 200 --width 350 --window-icon=/usr/share/icons/hicolor/scalable/apps/spark-store.svg
|
||||
zenity --text-info --filename=/tmp/spark-store-app-ssupdate-log.txt --checkbox="${TRANSHELL_CONTENT_I_ALREDY_COPIED_THE_LOG_HERE_AND_WILL_USE_IT_TO_FEEDBACK}" --title="${TRANSHELL_CONTENT_FEEDBACK_CAN_BE_FOUND_IN_THE_SETTINGS}" --window-icon=/usr/share/icons/hicolor/scalable/apps/spark-store.svg
|
||||
/opt/durapps/spark-store/bin/update-upgrade/ss-do-upgrade-worker.sh clean-log
|
||||
${HERE}/ss-do-upgrade-worker.sh clean-log
|
||||
rm -f /tmp/spark-store/upgradeStatus.txt
|
||||
exit
|
||||
fi
|
||||
|
||||
# 获取可更新应用列表
|
||||
PKG_LIST="$(/opt/durapps/spark-store/bin/update-upgrade/ss-do-upgrade-worker.sh upgradable-list)"
|
||||
PKG_LIST="$(${HERE}/ss-do-upgrade-worker.sh upgradable-list)"
|
||||
## 如果没更新,就弹出不需要更新
|
||||
if [ -z "$PKG_LIST" ] ; then
|
||||
zenity --info --text "${TRANSHELL_CONTENT_NO_NEED_TO_UPGRADE}" --title "${TRANSHELL_CONTENT_SPARK_STORE_UPGRADE_MODEL}" --height 150 --width 300 --window-icon=/usr/share/icons/hicolor/scalable/apps/spark-store.svg
|
||||
@@ -109,30 +113,60 @@ done)
|
||||
|
||||
## 如果没有应用需要更新,则直接退出
|
||||
if [ -z "$PKG_UPGRADE_LIST" ] ; then
|
||||
zenity --info --text "${TRANSHELL_CONTENT_NO_NEED_TO_UPGRADE}" --title "${TRANSHELL_CONTENT_SPARK_STORE_UPGRADE_MODEL}" --height 150 --width 300 --window-icon=/usr/share/icons/hicolor/scalable/apps/spark-store.svg
|
||||
else
|
||||
PKG_UPGRADE_LIST=$(echo "$PKG_UPGRADE_LIST" | zenity --list --text="${TRANSHELL_CONTENT_CHOOSE_APP_TO_UPGRADE}" --column="${TRANSHELL_CONTENT_CHOOSE}" --column="${TRANSHELL_CONTENT_APP_NAME}" --column="${TRANSHELL_CONTENT_NEW_VERSION}" --column="${TRANSHELL_CONTENT_UPGRADE_FROM}" --column="${TRANSHELL_CONTENT_PKG_NAME}" --separator=" " --checklist --multiple --print-column=5 --height 350 --width 650 --window-icon=/usr/share/icons/hicolor/scalable/apps/spark-store.svg)
|
||||
zenity --info --text "${TRANSHELL_CONTENT_NO_NEED_TO_UPGRADE}" --title "${TRANSHELL_CONTENT_SPARK_STORE_UPGRADE_MODEL}" --height 150 --width 300
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
while true;do
|
||||
PKG_UPGRADE_LIST=$(echo "$PKG_UPGRADE_LIST" | zenity --list --text="${TRANSHELL_CONTENT_CHOOSE_APP_TO_UPGRADE}" --column="${TRANSHELL_CONTENT_CHOOSE}" --column="${TRANSHELL_CONTENT_APP_NAME}" --column="${TRANSHELL_CONTENT_NEW_VERSION}" --column="${TRANSHELL_CONTENT_UPGRADE_FROM}" --column="${TRANSHELL_CONTENT_PKG_NAME}" --separator=" " --checklist --multiple --print-column=5 --height 350 --width 650 )
|
||||
## 如果没有选择,则直接退出
|
||||
if [ -z "$PKG_UPGRADE_LIST" ] ; then
|
||||
zenity --info --text "${TRANSHELL_CONTENT_NO_APP_IS_CHOSEN}" --title "${TRANSHELL_CONTENT_SPARK_STORE_UPGRADE_MODEL}" --height 150 --width 300 --window-icon=/usr/share/icons/hicolor/scalable/apps/spark-store.svg
|
||||
else
|
||||
zenity --info --text "${TRANSHELL_CONTENT_NO_APP_IS_CHOSEN}" --title "${TRANSHELL_CONTENT_SPARK_STORE_UPGRADE_MODEL}" --height 150 --width 300
|
||||
exit 0
|
||||
fi
|
||||
if [[ "$PKG_UPGRADE_LIST" == *"(null)"* ]]; then
|
||||
zenity --error --text "${TRANSHELL_CONTENT_LIST_NOT_LOADED_PLEASE_WAIT}" --title "${TRANSHELL_CONTENT_SPARK_STORE_UPGRADE_MODEL}" --height 150 --width 300
|
||||
else
|
||||
break
|
||||
fi
|
||||
done
|
||||
### 更新用户选择的应用
|
||||
for PKG_UPGRADE in $PKG_UPGRADE_LIST;do
|
||||
APP_UPGRADE="$(get_name_from_desktop_file $PKG_UPGRADE)"
|
||||
update_transhell
|
||||
pkexec /opt/durapps/spark-store/bin/update-upgrade/ss-do-upgrade-worker.sh upgrade-app $PKG_UPGRADE -y | zenity --progress --auto-close --no-cancel --pulsate --text="${TRANSHELL_CONTENT_UPGRADING_PLEASE_WAIT}" --height 70 --width 400 --title="${TRANSHELL_CONTENT_SPARK_STORE_UPGRADE_MODEL}" --window-icon=/usr/share/icons/hicolor/scalable/apps/spark-store.svg
|
||||
done
|
||||
# for PKG_UPGRADE in $PKG_UPGRADE_LIST;do
|
||||
# APP_UPGRADE="$(get_name_from_desktop_file $PKG_UPGRADE)"
|
||||
# update_transhell
|
||||
|
||||
(
|
||||
total=$(echo "$PKG_UPGRADE_LIST" | wc -w)
|
||||
count=0
|
||||
|
||||
for PKG_UPGRADE in $PKG_UPGRADE_LIST; do
|
||||
count=$((count + 1))
|
||||
APP_UPGRADE="$(get_name_from_desktop_file $PKG_UPGRADE)"
|
||||
update_transhell
|
||||
|
||||
# 启动升级任务
|
||||
(yes | pkexec ${HERE}/ss-do-upgrade-worker.sh upgrade-app $PKG_UPGRADE -y 2>&1 > /dev/null ) &
|
||||
|
||||
# 计算进度百分比
|
||||
progress=$(( count * 100 / total - 1))
|
||||
|
||||
# 动态修改zenity的文本
|
||||
echo "# ${TRANSHELL_CONTENT_UPGRADING_PLEASE_WAIT}"
|
||||
echo "$progress"
|
||||
wait
|
||||
done
|
||||
) | zenity --progress --auto-close --no-cancel --text="Preparing..." --height 70 --width 400 --title="${TRANSHELL_CONTENT_SPARK_STORE_UPGRADE_MODEL}" --window-icon=/usr/share/icons/hicolor/scalable/apps/spark-store.svg
|
||||
|
||||
|
||||
#### 更新成功
|
||||
if [ -z "`cat /tmp/spark-store-app-upgrade-status.txt`" ] ; then
|
||||
zenity --info --text "${TRANSHELL_CONTENT_CHOSEN_APP_UPGRADE_FINISHED}" --title "${TRANSHELL_CONTENT_SPARK_STORE_UPGRADE_MODEL}" --height 150 --width 300 --window-icon=/usr/share/icons/hicolor/scalable/apps/spark-store.svg
|
||||
else
|
||||
#### 更新异常
|
||||
else #### 更新异常
|
||||
zenity --error --text "${TRANSHELL_CONTENT_APP_UGRADE_PROCESS_ERROR_PRESS_CONFIRM_TO_CHECK}" --title "${TRANSHELL_CONTENT_SPARK_STORE_UPGRADE_MODEL}" --height 200 --width 350 --window-icon=/usr/share/icons/hicolor/scalable/apps/spark-store.svg
|
||||
zenity --text-info --filename=/tmp/spark-store-app-upgrade-log.txt --checkbox="${TRANSHELL_CONTENT_I_ALREDY_COPIED_THE_LOG_HERE_AND_WILL_USE_IT_TO_FEEDBACK}" --title="${TRANSHELL_CONTENT_FEEDBACK_CAN_BE_FOUND_IN_THE_SETTINGS}" --window-icon=/usr/share/icons/hicolor/scalable/apps/spark-store.svg
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
rm -f /tmp/spark-store/upgradeStatus.txt
|
||||
rm -f /tmp/spark-store/upgradeStatus.txt
|
||||
# 从最开头
|
||||
|
||||
@@ -1,16 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
source /opt/durapps/spark-store/bin/bashimport/transhell.amber
|
||||
load_transhell_debug
|
||||
|
||||
#############################################################
|
||||
|
||||
|
||||
# 发送通知
|
||||
function notify-send() {
|
||||
|
||||
|
||||
# Detect user using the display
|
||||
local user=$(who | awk '{print $1}' | head -n 1)
|
||||
|
||||
@@ -20,11 +16,8 @@ function notify-send() {
|
||||
sudo -u $user DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/${uid}/bus notify-send "$@"
|
||||
}
|
||||
|
||||
|
||||
|
||||
# 检测网络链接畅通
|
||||
function network-check()
|
||||
{
|
||||
function network-check() {
|
||||
# 超时时间
|
||||
local timeout=15
|
||||
|
||||
@@ -32,9 +25,9 @@ function network-check()
|
||||
local target=www.baidu.com
|
||||
|
||||
# 获取响应状态码
|
||||
local ret_code=`curl -I -s --connect-timeout ${timeout} ${target} -w %{http_code} | tail -n1`
|
||||
local ret_code=$(curl -I -s --connect-timeout ${timeout} ${target} -w %{http_code} | tail -n1)
|
||||
|
||||
if [ "x$ret_code" = "x200" ] ; then
|
||||
if [ "$ret_code" = "200" ]; then
|
||||
# 网络畅通
|
||||
return 0
|
||||
else
|
||||
@@ -43,32 +36,47 @@ function network-check()
|
||||
fi
|
||||
}
|
||||
|
||||
network-check
|
||||
if [ $? -ne 0 ] ; then
|
||||
echo "$TRANSHELL_CONTENT_NETWORK_FAIL"
|
||||
exit -1
|
||||
fi
|
||||
# 初始化等待时间和最大等待时间
|
||||
initial_wait_time=15 # 初始等待时间 15 秒
|
||||
max_wait_time=$((12 * 3600)) # 最大等待时间 12 小时
|
||||
|
||||
# The code above is modified from https://blog.csdn.net/yaxuan88521/article/details/120516298
|
||||
# 检测网络,若不通则进行重试,采用指数退避算法
|
||||
wait_time=$initial_wait_time
|
||||
while ! network-check; do
|
||||
echo "$TRANSHELL_CONTENT_NETWORK_FAIL"
|
||||
echo "Waiting for network to recover... Retrying in ${wait_time} seconds."
|
||||
|
||||
sleep $wait_time
|
||||
wait_time=$((wait_time * 2)) # 等待时间翻倍
|
||||
if [ $wait_time -gt $max_wait_time ]; then
|
||||
wait_time=$max_wait_time # 最大等待时间限制为12小时
|
||||
fi
|
||||
done
|
||||
|
||||
# 每日更新星火源文件
|
||||
|
||||
aptss update
|
||||
|
||||
updatetext=`LANGUAGE=en_US aptss ssupdate 2>&1`
|
||||
|
||||
until [ "`echo $updatetext | grep E: `" = "" ];do
|
||||
echo "${TRANSHELL_CONTENT_UPDATE_ERROR_AND_WAIT_15_SEC}"
|
||||
sleep 15
|
||||
updatetext=`LANGUAGE=en_US aptss ssupdate 2>&1`
|
||||
|
||||
# 在网络恢复后,继续更新操作
|
||||
retry_count=0
|
||||
max_retries=12 # 最大重试次数,防止死循环
|
||||
|
||||
until ! echo $updatetext | grep -q "E:"; do
|
||||
if [ $retry_count -ge $max_retries ]; then
|
||||
echo "Reached maximum retry limit for aptss ssupdate."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "${TRANSHELL_CONTENT_UPDATE_ERROR_AND_WAIT_15_SEC}"
|
||||
sleep 15
|
||||
updatetext=`LANGUAGE=en_US aptss ssupdate 2>&1`
|
||||
retry_count=$((retry_count + 1))
|
||||
done
|
||||
|
||||
update_app_number=$(env LANGUAGE=en_US /usr/bin/apt -c /opt/durapps/spark-store/bin/apt-fast-conf/aptss-apt.conf list --upgradable -o Dir::Etc::sourcelist="/opt/durapps/spark-store/bin/apt-fast-conf/sources.list.d/sparkstore.list" -o Dir::Etc::sourceparts="/dev/null" -o APT::Get::List-Cleanup="0" 2>/dev/null | grep -c upgradable)
|
||||
|
||||
if [ "$update_app_number" -le 0 ] ; then
|
||||
if [ "$update_app_number" -le 0 ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
@@ -78,43 +86,41 @@ PKG_LIST="$(/opt/durapps/spark-store/bin/update-upgrade/ss-do-upgrade-worker.sh
|
||||
IFS_OLD="$IFS"
|
||||
IFS=$'\n'
|
||||
|
||||
for line in $PKG_LIST ; do
|
||||
for line in $PKG_LIST; do
|
||||
PKG_NAME=$(echo $line | awk -F ' ' '{print $1}')
|
||||
PKG_NEW_VER=$(echo $line | awk -F ' ' '{print $2}')
|
||||
PKG_CUR_VER=$(echo $line | awk -F ' ' '{print $3}')
|
||||
|
||||
dpkg --compare-versions $PKG_NEW_VER le $PKG_CUR_VER
|
||||
|
||||
if [ $? -eq 0 ] ; then
|
||||
if [ $? -eq 0 ]; then
|
||||
let update_app_number=$update_app_number-1
|
||||
continue
|
||||
fi
|
||||
|
||||
## 检测是否是 hold 状态
|
||||
# 检测是否是 hold 状态
|
||||
PKG_STA=$(dpkg-query -W -f='${db:Status-Want}' $PKG_NAME)
|
||||
if [ "$PKG_STA" = "hold" ] ; then
|
||||
if [ "$PKG_STA" = "hold" ]; then
|
||||
let update_app_number=$update_app_number-1
|
||||
fi
|
||||
done
|
||||
|
||||
# 还原分隔符
|
||||
IFS="$IFS_OLD"
|
||||
if [ $update_app_number -le 0 ] ; then
|
||||
if [ $update_app_number -le 0 ]; then
|
||||
exit 0
|
||||
fi
|
||||
update_transhell
|
||||
|
||||
## 如果都是hold或者版本一致的那就直接退出,否则把剩余的给提醒了
|
||||
|
||||
##TODO:除了apt-mark hold之外额外有一个禁止检查列表
|
||||
|
||||
## 如果不想提示就不提示
|
||||
# 如果都是hold或者版本一致的那就直接退出,否则把剩余的给提醒了
|
||||
# TODO: 除了apt-mark hold之外额外有一个禁止检查列表
|
||||
# 如果不想提示就不提示
|
||||
|
||||
user=$(who | awk '{print $1}' | head -n 1)
|
||||
if [ -e "/home/$user/.config/spark-union/spark-store/ssshell-config-do-not-show-upgrade-notify" ];then
|
||||
echo "他不想站在世界之巅,好吧"
|
||||
echo "Okay he don't want to be at the top of the world, okay"
|
||||
exit
|
||||
if [ -e "/home/$user/.config/spark-union/spark-store/ssshell-config-do-not-show-upgrade-notify" ]; then
|
||||
echo "他不想站在世界之巅,好吧"
|
||||
echo "Okay he don't want to be at the top of the world, okay"
|
||||
exit
|
||||
else
|
||||
notify-send -a spark-store "${TRANSHELL_CONTENT_SPARK_STORE_UPGRADE_NOTIFY}" "${TRANSHELL_CONTENT_THERE_ARE_APPS_TO_UPGRADE}"
|
||||
notify-send -a spark-store "${TRANSHELL_CONTENT_SPARK_STORE_UPGRADE_NOTIFY}" "${TRANSHELL_CONTENT_THERE_ARE_APPS_TO_UPGRADE}" || true # Some machine don't have bus, or who command just print nothing.
|
||||
fi
|
||||
|
||||
@@ -9,169 +9,179 @@
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="290"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="289"/>
|
||||
<source>Uninstall</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="346"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="345"/>
|
||||
<source>0</source>
|
||||
<translation type="unfinished">0B {0?}</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="356"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="355"/>
|
||||
<source>Download Times</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="410"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="413"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="409"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="412"/>
|
||||
<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>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="416"/>
|
||||
<source><html><head/><body><p><img src=":/tags/community-small.png"/></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="435"/>
|
||||
<source><html><head/><body><p><img src=":/tags/ubuntu-small.png"/></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="448"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="451"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="447"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="450"/>
|
||||
<source><html><head/><body><p>Capable to UOS home 20</p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="454"/>
|
||||
<source><html><head/><body><p><img src=":/tags/uos-small.png"/></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="467"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="470"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="466"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="469"/>
|
||||
<source><html><head/><body><p>A deepin-wine2 app. Spark Store will automatically configure the wine kit for you.</p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="473"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="472"/>
|
||||
<source><html><head/><body><p><img src=":/tags/dwine2-small.png"/></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="486"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="489"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="485"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="488"/>
|
||||
<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>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="492"/>
|
||||
<source><html><head/><body><p><img src=":/tags/dtk-small.png"/></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="505"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="508"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="504"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="507"/>
|
||||
<source><html><head/><body><p>Capable to deepin 20</p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="511"/>
|
||||
<source><html><head/><body><p><img src=":/tags/deepin-small.png"/></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="524"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="527"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="523"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="526"/>
|
||||
<source><html><head/><body><p>An Appimage to deb app.</p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="530"/>
|
||||
<source><html><head/><body><p><img src=":/tags/a2d-small.png"/></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="549"/>
|
||||
<source><html><head/><body><p><img src=":/tags/dwine5-small.png"/></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="602"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="611"/>
|
||||
<source>Share</source>
|
||||
<translation type="unfinished">Spk share link</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="609"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="618"/>
|
||||
<source>APP Feedback</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="765"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="773"/>
|
||||
<source>Introduction</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1068"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="1074"/>
|
||||
<source>Description</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="903"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="910"/>
|
||||
<source>Screen capture</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="244"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="198"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="336"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="370"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="533"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="243"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="210"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="351"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="396"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="575"/>
|
||||
<source>Download and Install</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="429"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="432"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="415"/>
|
||||
<source><html><head/><body><p><img src=":/tags/community.svg" height=30 width=30 /></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="428"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="431"/>
|
||||
<source><html><head/><body><p>Capable to Ubuntu 22.04</p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="543"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="546"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="434"/>
|
||||
<source><html><head/><body><p><img src=":/tags/ubuntu.png" width=30 height=30 /></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="453"/>
|
||||
<source><html><head/><body><p><img src=":/tags/uos-authorize.svg" height=30 width=30 /></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="491"/>
|
||||
<source><html><head/><body><p><img src=":/tags/logo_icon.svg" height=30 width=30 /></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="510"/>
|
||||
<source><html><head/><body><p><img src=":/tags/deepin.svg" height=30 width=30 /></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="529"/>
|
||||
<source><html><head/><body><p><img src=":/tags/a2d.png"height=30 width=30 /></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="542"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="545"/>
|
||||
<source><html><head/><body><p>A Wine app.Spark Store will automatically configure the wine kit for you</p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1161"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="548"/>
|
||||
<source><html><head/><body><p><img src=":/tags/dwine5.svg" height=30 width=30 /></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="555"/>
|
||||
<source><html><head/><body><p>Capable to Debian Stable</p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="558"/>
|
||||
<source><html><head/><body><p><img src=":/tags/debian.svg" height="30" width="30"/></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1167"/>
|
||||
<source>Update</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1190"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="1196"/>
|
||||
<source>Contributor</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1197"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="1203"/>
|
||||
<source>Pkgname</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1303"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="1309"/>
|
||||
<source>Author</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1339"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="1345"/>
|
||||
<source>Size</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1375"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="1381"/>
|
||||
<source>Website</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
@@ -186,69 +196,82 @@
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="183"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="363"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="505"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="191"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="383"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="544"/>
|
||||
<source>Reinstall</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="190"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="193"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="385"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="527"/>
|
||||
<source>Launch</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="202"/>
|
||||
<source>Upgrade</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="341"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="481"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="356"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="509"/>
|
||||
<source>Install</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="346"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="361"/>
|
||||
<source>Installing</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="460"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="464"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="468"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="472"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="483"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="487"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="491"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="495"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="499"/>
|
||||
<source>Warning</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="460"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="483"/>
|
||||
<source>The current application does not support or tested on deepin, there may be problems</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="464"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="487"/>
|
||||
<source>The current application does not support or tested on UOS, there may be problems</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="468"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="491"/>
|
||||
<source>The current application does not support or tested on Ubuntu, there may be problems</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="472"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="495"/>
|
||||
<source>The current application does not support or tested on Debian, there may be problems</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="499"/>
|
||||
<source>The current application does not support or tested on current platform, there may be problems</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="536"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="551"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="578"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="593"/>
|
||||
<source>Spark Store</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="536"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="578"/>
|
||||
<source>Uninstall succeeded</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="551"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="593"/>
|
||||
<source>The URL has been copied to the clipboard</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
||||
@@ -9,169 +9,179 @@
|
||||
<translation>Tipo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="290"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="289"/>
|
||||
<source>Uninstall</source>
|
||||
<translation>Desinstalar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="346"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="345"/>
|
||||
<source>0</source>
|
||||
<translation>0</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="356"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="355"/>
|
||||
<source>Download Times</source>
|
||||
<translation>Número de descargas</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="410"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="413"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="409"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="412"/>
|
||||
<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>Esta aplicación fue desarrollada por usuarios de la comunidad y la Etiquetamos en honor a aquellos que contribuyeron a la ecología de linux.</p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="416"/>
|
||||
<source><html><head/><body><p><img src=":/tags/community-small.png"/></p></body></html></source>
|
||||
<translation><html><head/><body><p><img src=":/tags/community-small.png"/></p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="435"/>
|
||||
<source><html><head/><body><p><img src=":/tags/ubuntu-small.png"/></p></body></html></source>
|
||||
<translation><html><head/><body><p><img src=":/tags/ubuntu-small.png"/></p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="448"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="451"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="447"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="450"/>
|
||||
<source><html><head/><body><p>Capable to UOS home 20</p></body></html></source>
|
||||
<translation><html><head/><body><p>Capaz de UOS home 20</p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="454"/>
|
||||
<source><html><head/><body><p><img src=":/tags/uos-small.png"/></p></body></html></source>
|
||||
<translation><html><head/><body><p><img src=":/tags/uos-small.png"/></p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="467"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="470"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="466"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="469"/>
|
||||
<source><html><head/><body><p>A deepin-wine2 app. Spark Store will automatically configure the wine kit for you.</p></body></html></source>
|
||||
<translation><html><head/><body><p>A deepin-wine2 app. La tienda Spark le configurará automáticamente un traje de vino.</p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="473"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="472"/>
|
||||
<source><html><head/><body><p><img src=":/tags/dwine2-small.png"/></p></body></html></source>
|
||||
<translation><html><head/><body><p><img src=":/tags/dwine2-small.png"/></p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="486"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="489"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="485"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="488"/>
|
||||
<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>Esta es una aplicación dtk5, lo que significa que funcionará mejor en un entorno de escritorio profundo.</p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="492"/>
|
||||
<source><html><head/><body><p><img src=":/tags/dtk-small.png"/></p></body></html></source>
|
||||
<translation><html><head/><body><p><img src=":/tags/dtk-small.png"/></p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="505"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="508"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="504"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="507"/>
|
||||
<source><html><head/><body><p>Capable to deepin 20</p></body></html></source>
|
||||
<translation><html><head/><body><p>Capaz de deepin 20</p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="511"/>
|
||||
<source><html><head/><body><p><img src=":/tags/deepin-small.png"/></p></body></html></source>
|
||||
<translation><html><head/><body><p><img src=":/tags/deepin-small.png"/></p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="524"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="527"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="523"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="526"/>
|
||||
<source><html><head/><body><p>An Appimage to deb app.</p></body></html></source>
|
||||
<translation><html><head/><body><p>Appimage de la aplicación deb.</p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="530"/>
|
||||
<source><html><head/><body><p><img src=":/tags/a2d-small.png"/></p></body></html></source>
|
||||
<translation><html><head/><body><p><img src=":/tags/a2d-small.png"/></p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="549"/>
|
||||
<source><html><head/><body><p><img src=":/tags/dwine5-small.png"/></p></body></html></source>
|
||||
<translation><html><head/><body><p><img src=":/tags/dwine5-small.png"/></p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="602"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="611"/>
|
||||
<source>Share</source>
|
||||
<translation>Comunión</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="609"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="618"/>
|
||||
<source>APP Feedback</source>
|
||||
<translation>Comentarios de la app</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="765"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="773"/>
|
||||
<source>Introduction</source>
|
||||
<translation>Introducción</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1068"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="1074"/>
|
||||
<source>Description</source>
|
||||
<translation>Descripción</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="903"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="910"/>
|
||||
<source>Screen capture</source>
|
||||
<translation>Captura de pantalla</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="244"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="198"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="336"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="370"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="533"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="243"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="210"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="351"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="396"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="575"/>
|
||||
<source>Download and Install</source>
|
||||
<translation>Descargar e instalar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="429"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="432"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="415"/>
|
||||
<source><html><head/><body><p><img src=":/tags/community.svg" height=30 width=30 /></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="428"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="431"/>
|
||||
<source><html><head/><body><p>Capable to Ubuntu 22.04</p></body></html></source>
|
||||
<translation><html><head/><body><p>Capaz de Ubuntu 22.04</p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="543"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="546"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="434"/>
|
||||
<source><html><head/><body><p><img src=":/tags/ubuntu.png" width=30 height=30 /></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="453"/>
|
||||
<source><html><head/><body><p><img src=":/tags/uos-authorize.svg" height=30 width=30 /></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="491"/>
|
||||
<source><html><head/><body><p><img src=":/tags/logo_icon.svg" height=30 width=30 /></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="510"/>
|
||||
<source><html><head/><body><p><img src=":/tags/deepin.svg" height=30 width=30 /></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="529"/>
|
||||
<source><html><head/><body><p><img src=":/tags/a2d.png"height=30 width=30 /></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="542"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="545"/>
|
||||
<source><html><head/><body><p>A Wine app.Spark Store will automatically configure the wine kit for you</p></body></html></source>
|
||||
<translation><html><head/><body><p>La aplicación wine. Spark Store configurará automáticamente el kit Wine para usted</p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1161"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="548"/>
|
||||
<source><html><head/><body><p><img src=":/tags/dwine5.svg" height=30 width=30 /></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="555"/>
|
||||
<source><html><head/><body><p>Capable to Debian Stable</p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="558"/>
|
||||
<source><html><head/><body><p><img src=":/tags/debian.svg" height="30" width="30"/></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1167"/>
|
||||
<source>Update</source>
|
||||
<translation>Modernizar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1190"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="1196"/>
|
||||
<source>Contributor</source>
|
||||
<translation>Contribuyentes</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1197"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="1203"/>
|
||||
<source>Pkgname</source>
|
||||
<translation>Nombre del embalaje</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1303"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="1309"/>
|
||||
<source>Author</source>
|
||||
<translation>Autor</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1339"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="1345"/>
|
||||
<source>Size</source>
|
||||
<translation>Tamaño</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1375"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="1381"/>
|
||||
<source>Website</source>
|
||||
<translation>Sitio web</translation>
|
||||
</message>
|
||||
@@ -186,69 +196,82 @@
|
||||
<translation>Se ha desactivado el modo desarrollador</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="183"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="363"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="505"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="191"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="383"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="544"/>
|
||||
<source>Reinstall</source>
|
||||
<translation>Reinstalación</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="190"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="193"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="385"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="527"/>
|
||||
<source>Launch</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="202"/>
|
||||
<source>Upgrade</source>
|
||||
<translation>Actualización</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="341"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="481"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="356"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="509"/>
|
||||
<source>Install</source>
|
||||
<translation>Instalación</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="346"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="361"/>
|
||||
<source>Installing</source>
|
||||
<translation>Se está instalando</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="460"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="464"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="468"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="472"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="483"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="487"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="491"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="495"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="499"/>
|
||||
<source>Warning</source>
|
||||
<translation>Aviso</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="460"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="483"/>
|
||||
<source>The current application does not support or tested on deepin, there may be problems</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="464"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="487"/>
|
||||
<source>The current application does not support or tested on UOS, there may be problems</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="468"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="491"/>
|
||||
<source>The current application does not support or tested on Ubuntu, there may be problems</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="472"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="495"/>
|
||||
<source>The current application does not support or tested on Debian, there may be problems</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="499"/>
|
||||
<source>The current application does not support or tested on current platform, there may be problems</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="536"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="551"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="578"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="593"/>
|
||||
<source>Spark Store</source>
|
||||
<translation>SPARK Store</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="536"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="578"/>
|
||||
<source>Uninstall succeeded</source>
|
||||
<translation>Desinstalación exitosa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="551"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="593"/>
|
||||
<source>The URL has been copied to the clipboard</source>
|
||||
<translation>La URL ha sido copiada al portapapeles</translation>
|
||||
</message>
|
||||
|
||||
@@ -9,169 +9,179 @@
|
||||
<translation>Type</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="290"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="289"/>
|
||||
<source>Uninstall</source>
|
||||
<translation>Désinstaller</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="346"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="345"/>
|
||||
<source>0</source>
|
||||
<translation>0</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="356"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="355"/>
|
||||
<source>Download Times</source>
|
||||
<translation>Nombre de téléchargements</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="410"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="413"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="409"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="412"/>
|
||||
<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>Cette application a été développée par des utilisateurs de la communauté et nous avons donné ce label à ceux qui ont contribué à l'écologie de Linux</p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="416"/>
|
||||
<source><html><head/><body><p><img src=":/tags/community-small.png"/></p></body></html></source>
|
||||
<translation><html><head/><body><p><img src=":/tags/community-small.png"/></p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="435"/>
|
||||
<source><html><head/><body><p><img src=":/tags/ubuntu-small.png"/></p></body></html></source>
|
||||
<translation><html><head/><body><p><img src=":/tags/ubuntu-small.png"/></p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="448"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="451"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="447"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="450"/>
|
||||
<source><html><head/><body><p>Capable to UOS home 20</p></body></html></source>
|
||||
<translation><html><head/><body><p>Capable de la home UOS 20</p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="454"/>
|
||||
<source><html><head/><body><p><img src=":/tags/uos-small.png"/></p></body></html></source>
|
||||
<translation><html><head/><body><p><img src=":/tags/uos-small.png"/></p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="467"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="470"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="466"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="469"/>
|
||||
<source><html><head/><body><p>A deepin-wine2 app. Spark Store will automatically configure the wine kit for you.</p></body></html></source>
|
||||
<translation><html><head/><body><p>Une application deepin-wine2. Le Spark Store configure automatiquement votre pack de vins.</p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="473"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="472"/>
|
||||
<source><html><head/><body><p><img src=":/tags/dwine2-small.png"/></p></body></html></source>
|
||||
<translation><html><head/><body><p><img src=":/tags/dwine2-small.png"/></p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="486"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="489"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="485"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="488"/>
|
||||
<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>C'est une application dtk5, ce qui signifie qu'elle fonctionnera mieux dans un environnement de bureau profond.</p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="492"/>
|
||||
<source><html><head/><body><p><img src=":/tags/dtk-small.png"/></p></body></html></source>
|
||||
<translation><html><head/><body><p><img src=":/tags/dtk-small.png"/></p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="505"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="508"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="504"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="507"/>
|
||||
<source><html><head/><body><p>Capable to deepin 20</p></body></html></source>
|
||||
<translation><html><head/><body><p>Capable de la deepin 20</p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="511"/>
|
||||
<source><html><head/><body><p><img src=":/tags/deepin-small.png"/></p></body></html></source>
|
||||
<translation><html><head/><body><p><img src=":/tags/deepin-small.png"/></p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="524"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="527"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="523"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="526"/>
|
||||
<source><html><head/><body><p>An Appimage to deb app.</p></body></html></source>
|
||||
<translation><html><head/><body><p>Appimage pour l'application DEB</p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="530"/>
|
||||
<source><html><head/><body><p><img src=":/tags/a2d-small.png"/></p></body></html></source>
|
||||
<translation><html><head/><body><p><img src=":/tags/a2d-small.png"/></p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="549"/>
|
||||
<source><html><head/><body><p><img src=":/tags/dwine5-small.png"/></p></body></html></source>
|
||||
<translation><html><head/><body><p><img src=":/tags/dwine5-small.png"/></p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="602"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="611"/>
|
||||
<source>Share</source>
|
||||
<translation>Au total</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="609"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="618"/>
|
||||
<source>APP Feedback</source>
|
||||
<translation>App feedback</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="765"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="773"/>
|
||||
<source>Introduction</source>
|
||||
<translation>Présentation</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1068"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="1074"/>
|
||||
<source>Description</source>
|
||||
<translation>Description</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="903"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="910"/>
|
||||
<source>Screen capture</source>
|
||||
<translation>Captures d'écran</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="244"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="198"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="336"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="370"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="533"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="243"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="210"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="351"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="396"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="575"/>
|
||||
<source>Download and Install</source>
|
||||
<translation>Télécharger et installer</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="429"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="432"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="415"/>
|
||||
<source><html><head/><body><p><img src=":/tags/community.svg" height=30 width=30 /></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="428"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="431"/>
|
||||
<source><html><head/><body><p>Capable to Ubuntu 22.04</p></body></html></source>
|
||||
<translation><html><head/><body><p>Capable de la Ubuntu 22.04</p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="543"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="546"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="434"/>
|
||||
<source><html><head/><body><p><img src=":/tags/ubuntu.png" width=30 height=30 /></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="453"/>
|
||||
<source><html><head/><body><p><img src=":/tags/uos-authorize.svg" height=30 width=30 /></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="491"/>
|
||||
<source><html><head/><body><p><img src=":/tags/logo_icon.svg" height=30 width=30 /></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="510"/>
|
||||
<source><html><head/><body><p><img src=":/tags/deepin.svg" height=30 width=30 /></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="529"/>
|
||||
<source><html><head/><body><p><img src=":/tags/a2d.png"height=30 width=30 /></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="542"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="545"/>
|
||||
<source><html><head/><body><p>A Wine app.Spark Store will automatically configure the wine kit for you</p></body></html></source>
|
||||
<translation><html><head/><body><p>L'application wine. Spark Store configure automatiquement le kit Wine pour vous</p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1161"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="548"/>
|
||||
<source><html><head/><body><p><img src=":/tags/dwine5.svg" height=30 width=30 /></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="555"/>
|
||||
<source><html><head/><body><p>Capable to Debian Stable</p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="558"/>
|
||||
<source><html><head/><body><p><img src=":/tags/debian.svg" height="30" width="30"/></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1167"/>
|
||||
<source>Update</source>
|
||||
<translation>Moderniser</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1190"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="1196"/>
|
||||
<source>Contributor</source>
|
||||
<translation>Contributeurs</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1197"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="1203"/>
|
||||
<source>Pkgname</source>
|
||||
<translation>Nom de l'emballage</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1303"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="1309"/>
|
||||
<source>Author</source>
|
||||
<translation>Auteur</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1339"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="1345"/>
|
||||
<source>Size</source>
|
||||
<translation>Taille</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1375"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="1381"/>
|
||||
<source>Website</source>
|
||||
<translation>Site Web</translation>
|
||||
</message>
|
||||
@@ -186,69 +196,82 @@
|
||||
<translation>Mode développeur désactivé</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="183"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="363"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="505"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="191"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="383"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="544"/>
|
||||
<source>Reinstall</source>
|
||||
<translation>Réinstaller</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="190"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="193"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="385"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="527"/>
|
||||
<source>Launch</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="202"/>
|
||||
<source>Upgrade</source>
|
||||
<translation>Mise à niveau</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="341"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="481"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="356"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="509"/>
|
||||
<source>Install</source>
|
||||
<translation>Installation</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="346"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="361"/>
|
||||
<source>Installing</source>
|
||||
<translation>Installation en cours</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="460"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="464"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="468"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="472"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="483"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="487"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="491"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="495"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="499"/>
|
||||
<source>Warning</source>
|
||||
<translation>Avertissement</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="460"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="483"/>
|
||||
<source>The current application does not support or tested on deepin, there may be problems</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="464"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="487"/>
|
||||
<source>The current application does not support or tested on UOS, there may be problems</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="468"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="491"/>
|
||||
<source>The current application does not support or tested on Ubuntu, there may be problems</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="472"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="495"/>
|
||||
<source>The current application does not support or tested on Debian, there may be problems</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="499"/>
|
||||
<source>The current application does not support or tested on current platform, there may be problems</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="536"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="551"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="578"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="593"/>
|
||||
<source>Spark Store</source>
|
||||
<translation>Le Spark store</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="536"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="578"/>
|
||||
<source>Uninstall succeeded</source>
|
||||
<translation>Désinstallation réussie</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="551"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="593"/>
|
||||
<source>The URL has been copied to the clipboard</source>
|
||||
<translation>L'URL a été copiée dans le presse - papiers</translation>
|
||||
</message>
|
||||
|
||||
@@ -9,169 +9,179 @@
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="290"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="289"/>
|
||||
<source>Uninstall</source>
|
||||
<translation>卸载</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="346"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="345"/>
|
||||
<source>0</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="356"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="355"/>
|
||||
<source>Download Times</source>
|
||||
<translation>下载量</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="410"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="413"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="409"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="412"/>
|
||||
<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>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="416"/>
|
||||
<source><html><head/><body><p><img src=":/tags/community-small.png"/></p></body></html></source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="435"/>
|
||||
<source><html><head/><body><p><img src=":/tags/ubuntu-small.png"/></p></body></html></source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="448"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="451"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="447"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="450"/>
|
||||
<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>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="454"/>
|
||||
<source><html><head/><body><p><img src=":/tags/uos-small.png"/></p></body></html></source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="467"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="470"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="466"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="469"/>
|
||||
<source><html><head/><body><p>A deepin-wine2 app. Spark Store will automatically configure the wine kit for you.</p></body></html></source>
|
||||
<translation>这是一款 deepin-wine2 应用。星火商店会为你自动配置wine环境</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="473"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="472"/>
|
||||
<source><html><head/><body><p><img src=":/tags/dwine2-small.png"/></p></body></html></source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="486"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="489"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="485"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="488"/>
|
||||
<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>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="492"/>
|
||||
<source><html><head/><body><p><img src=":/tags/dtk-small.png"/></p></body></html></source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="505"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="508"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="504"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="507"/>
|
||||
<source><html><head/><body><p>Capable to deepin 20</p></body></html></source>
|
||||
<translation><html><head/><body><p>支持deepin 20</p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="511"/>
|
||||
<source><html><head/><body><p><img src=":/tags/deepin-small.png"/></p></body></html></source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="524"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="527"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="523"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="526"/>
|
||||
<source><html><head/><body><p>An Appimage to deb app.</p></body></html></source>
|
||||
<translation><html><head/><body><p>这是一款Appimage转制应用.</p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="530"/>
|
||||
<source><html><head/><body><p><img src=":/tags/a2d-small.png"/></p></body></html></source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="549"/>
|
||||
<source><html><head/><body><p><img src=":/tags/dwine5-small.png"/></p></body></html></source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="602"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="611"/>
|
||||
<source>Share</source>
|
||||
<translation>Spk分享链接</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="609"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="618"/>
|
||||
<source>APP Feedback</source>
|
||||
<translation>应用反馈</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1068"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="1074"/>
|
||||
<source>Description</source>
|
||||
<translation>描述</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="903"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="910"/>
|
||||
<source>Screen capture</source>
|
||||
<translation>屏幕截图</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="244"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="198"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="336"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="370"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="533"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="243"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="210"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="351"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="396"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="575"/>
|
||||
<source>Download and Install</source>
|
||||
<translation>下载并安装</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="429"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="432"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="415"/>
|
||||
<source><html><head/><body><p><img src=":/tags/community.svg" height=30 width=30 /></p></body></html></source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="428"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="431"/>
|
||||
<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>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="543"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="546"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="434"/>
|
||||
<source><html><head/><body><p><img src=":/tags/ubuntu.png" width=30 height=30 /></p></body></html></source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="453"/>
|
||||
<source><html><head/><body><p><img src=":/tags/uos-authorize.svg" height=30 width=30 /></p></body></html></source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="491"/>
|
||||
<source><html><head/><body><p><img src=":/tags/logo_icon.svg" height=30 width=30 /></p></body></html></source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="510"/>
|
||||
<source><html><head/><body><p><img src=":/tags/deepin.svg" height=30 width=30 /></p></body></html></source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="529"/>
|
||||
<source><html><head/><body><p><img src=":/tags/a2d.png"height=30 width=30 /></p></body></html></source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="542"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="545"/>
|
||||
<source><html><head/><body><p>A Wine app.Spark Store will automatically configure the wine kit for you</p></body></html></source>
|
||||
<translation>这是一款 Wine 应用。星火商店会为你自动配置wine环境</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="765"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="548"/>
|
||||
<source><html><head/><body><p><img src=":/tags/dwine5.svg" height=30 width=30 /></p></body></html></source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="555"/>
|
||||
<source><html><head/><body><p>Capable to Debian Stable</p></body></html></source>
|
||||
<translation><html><head/><body><p>支持Debian Stable</p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="558"/>
|
||||
<source><html><head/><body><p><img src=":/tags/debian.svg" height="30" width="30"/></p></body></html></source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="773"/>
|
||||
<source>Introduction</source>
|
||||
<translation>介绍</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1161"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="1167"/>
|
||||
<source>Update</source>
|
||||
<translation>更新时间</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1190"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="1196"/>
|
||||
<source>Contributor</source>
|
||||
<translation>投稿用户</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1197"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="1203"/>
|
||||
<source>Pkgname</source>
|
||||
<translation>软件包名</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1303"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="1309"/>
|
||||
<source>Author</source>
|
||||
<translation>软件作者</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1339"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="1345"/>
|
||||
<source>Size</source>
|
||||
<translation>软件大小</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1375"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="1381"/>
|
||||
<source>Website</source>
|
||||
<translation>软件官网</translation>
|
||||
</message>
|
||||
@@ -186,69 +196,82 @@
|
||||
<translation>开发者模式未开启</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="183"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="363"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="505"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="191"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="383"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="544"/>
|
||||
<source>Reinstall</source>
|
||||
<translation>重新安装</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="190"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="193"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="385"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="527"/>
|
||||
<source>Launch</source>
|
||||
<translation>启动应用</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="202"/>
|
||||
<source>Upgrade</source>
|
||||
<translation>升级</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="341"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="481"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="356"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="509"/>
|
||||
<source>Install</source>
|
||||
<translation>安装</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="346"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="361"/>
|
||||
<source>Installing</source>
|
||||
<translation>正在安装</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="460"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="464"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="468"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="472"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="483"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="487"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="491"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="495"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="499"/>
|
||||
<source>Warning</source>
|
||||
<translation>警告</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="460"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="483"/>
|
||||
<source>The current application does not support or tested on deepin, there may be problems</source>
|
||||
<translation>当前应用不支持或未在deepin上测试过,安装后可能会出现问题</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="464"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="487"/>
|
||||
<source>The current application does not support or tested on UOS, there may be problems</source>
|
||||
<translation>当前应用不支持或未在UOS上测试过,安装后可能会出现问题</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="468"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="491"/>
|
||||
<source>The current application does not support or tested on Ubuntu, there may be problems</source>
|
||||
<translation>当前应用不支持或未在Ubuntu上测试过,安装后可能会出现问题</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="472"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="495"/>
|
||||
<source>The current application does not support or tested on Debian, there may be problems</source>
|
||||
<translation>当前应用不支持或未在Debian上测试过,安装后可能会出现问题</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="499"/>
|
||||
<source>The current application does not support or tested on current platform, there may be problems</source>
|
||||
<translation>当前应用不支持或未在您的平台上测试过,安装后可能会出现问题</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="536"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="551"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="578"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="593"/>
|
||||
<source>Spark Store</source>
|
||||
<translation>星火应用商店</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="536"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="578"/>
|
||||
<source>Uninstall succeeded</source>
|
||||
<translation>卸载成功</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="551"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="593"/>
|
||||
<source>The URL has been copied to the clipboard</source>
|
||||
<translation>链接已复制到剪贴板</translation>
|
||||
</message>
|
||||
|
||||
@@ -9,169 +9,179 @@
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="290"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="289"/>
|
||||
<source>Uninstall</source>
|
||||
<translation>移除安裝</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="346"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="345"/>
|
||||
<source>0</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="356"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="355"/>
|
||||
<source>Download Times</source>
|
||||
<translation>下載次數</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="410"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="413"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="409"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="412"/>
|
||||
<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>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="416"/>
|
||||
<source><html><head/><body><p><img src=":/tags/community-small.png"/></p></body></html></source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="435"/>
|
||||
<source><html><head/><body><p><img src=":/tags/ubuntu-small.png"/></p></body></html></source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="448"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="451"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="447"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="450"/>
|
||||
<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>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="454"/>
|
||||
<source><html><head/><body><p><img src=":/tags/uos-small.png"/></p></body></html></source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="467"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="470"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="466"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="469"/>
|
||||
<source><html><head/><body><p>A deepin-wine2 app. Spark Store will automatically configure the wine kit for you.</p></body></html></source>
|
||||
<translation>这是一款 deepin-wine2 应用。星火商店会为你自动配置wine环境</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="473"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="472"/>
|
||||
<source><html><head/><body><p><img src=":/tags/dwine2-small.png"/></p></body></html></source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="486"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="489"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="485"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="488"/>
|
||||
<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>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="492"/>
|
||||
<source><html><head/><body><p><img src=":/tags/dtk-small.png"/></p></body></html></source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="505"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="508"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="504"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="507"/>
|
||||
<source><html><head/><body><p>Capable to deepin 20</p></body></html></source>
|
||||
<translation><html><head/><body><p>支持deepin 20</p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="511"/>
|
||||
<source><html><head/><body><p><img src=":/tags/deepin-small.png"/></p></body></html></source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="524"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="527"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="523"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="526"/>
|
||||
<source><html><head/><body><p>An Appimage to deb app.</p></body></html></source>
|
||||
<translation><html><head/><body><p>这是一款Appimage转制应用.</p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="530"/>
|
||||
<source><html><head/><body><p><img src=":/tags/a2d-small.png"/></p></body></html></source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="549"/>
|
||||
<source><html><head/><body><p><img src=":/tags/dwine5-small.png"/></p></body></html></source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="602"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="611"/>
|
||||
<source>Share</source>
|
||||
<translation>Spk共享链接</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="609"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="618"/>
|
||||
<source>APP Feedback</source>
|
||||
<translation>軟件錯誤回報</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1068"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="1074"/>
|
||||
<source>Description</source>
|
||||
<translation>軟體詳細資料</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="903"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="910"/>
|
||||
<source>Screen capture</source>
|
||||
<translation>軟體演示</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="244"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="198"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="336"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="370"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="533"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="243"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="210"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="351"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="396"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="575"/>
|
||||
<source>Download and Install</source>
|
||||
<translation>下載並安裝</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="429"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="432"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="415"/>
|
||||
<source><html><head/><body><p><img src=":/tags/community.svg" height=30 width=30 /></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="428"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="431"/>
|
||||
<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>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="543"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="546"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="434"/>
|
||||
<source><html><head/><body><p><img src=":/tags/ubuntu.png" width=30 height=30 /></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="453"/>
|
||||
<source><html><head/><body><p><img src=":/tags/uos-authorize.svg" height=30 width=30 /></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="491"/>
|
||||
<source><html><head/><body><p><img src=":/tags/logo_icon.svg" height=30 width=30 /></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="510"/>
|
||||
<source><html><head/><body><p><img src=":/tags/deepin.svg" height=30 width=30 /></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="529"/>
|
||||
<source><html><head/><body><p><img src=":/tags/a2d.png"height=30 width=30 /></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="542"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="545"/>
|
||||
<source><html><head/><body><p>A Wine app.Spark Store will automatically configure the wine kit for you</p></body></html></source>
|
||||
<translation>这是一款 Wine 应用。星火商店会为你自动配置wine环境</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="765"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="548"/>
|
||||
<source><html><head/><body><p><img src=":/tags/dwine5.svg" height=30 width=30 /></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="555"/>
|
||||
<source><html><head/><body><p>Capable to Debian Stable</p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="558"/>
|
||||
<source><html><head/><body><p><img src=":/tags/debian.svg" height="30" width="30"/></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="773"/>
|
||||
<source>Introduction</source>
|
||||
<translation>軟體介紹</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1161"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="1167"/>
|
||||
<source>Update</source>
|
||||
<translation>更新时间</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1190"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="1196"/>
|
||||
<source>Contributor</source>
|
||||
<translation>投稿用户</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1197"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="1203"/>
|
||||
<source>Pkgname</source>
|
||||
<translation>软件包名</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1303"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="1309"/>
|
||||
<source>Author</source>
|
||||
<translation>软件作者</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1339"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="1345"/>
|
||||
<source>Size</source>
|
||||
<translation>软件大小</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.ui" line="1375"/>
|
||||
<location filename="../src/pages/appintopage.ui" line="1381"/>
|
||||
<source>Website</source>
|
||||
<translation>软件官网</translation>
|
||||
</message>
|
||||
@@ -186,69 +196,82 @@
|
||||
<translation>开发者模式未开启</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="183"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="363"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="505"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="191"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="383"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="544"/>
|
||||
<source>Reinstall</source>
|
||||
<translation>重新安裝</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="190"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="193"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="385"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="527"/>
|
||||
<source>Launch</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="202"/>
|
||||
<source>Upgrade</source>
|
||||
<translation>升级</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="341"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="481"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="356"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="509"/>
|
||||
<source>Install</source>
|
||||
<translation>安装</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="346"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="361"/>
|
||||
<source>Installing</source>
|
||||
<translation>正在安装</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="460"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="464"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="468"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="472"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="483"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="487"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="491"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="495"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="499"/>
|
||||
<source>Warning</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="460"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="483"/>
|
||||
<source>The current application does not support or tested on deepin, there may be problems</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="464"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="487"/>
|
||||
<source>The current application does not support or tested on UOS, there may be problems</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="468"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="491"/>
|
||||
<source>The current application does not support or tested on Ubuntu, there may be problems</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="472"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="495"/>
|
||||
<source>The current application does not support or tested on Debian, there may be problems</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="499"/>
|
||||
<source>The current application does not support or tested on current platform, there may be problems</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="536"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="551"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="578"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="593"/>
|
||||
<source>Spark Store</source>
|
||||
<translation>星火应用商店</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="536"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="578"/>
|
||||
<source>Uninstall succeeded</source>
|
||||
<translation>卸载成功</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/pages/appintopage.cpp" line="551"/>
|
||||
<location filename="../src/pages/appintopage.cpp" line="593"/>
|
||||
<source>The URL has been copied to the clipboard</source>
|
||||
<translation>链接已复制到剪贴板</translation>
|
||||
</message>
|
||||
|
||||