mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-15 21:32:05 +08:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 98c4e8a699 | |||
| 69b7cbe472 | |||
| 539a21ccec | |||
| eb40a32cc2 | |||
| 440b7ea88d |
@@ -13,15 +13,15 @@
|
|||||||
|
|
||||||
| 分类名称 | web分类 |
|
| 分类名称 | web分类 |
|
||||||
| -------- | -------------- |
|
| -------- | -------------- |
|
||||||
| 网络应用 | network |
|
| 网络 | network |
|
||||||
| 社交沟通 | chat |
|
| 社交 | chat |
|
||||||
| 音乐欣赏 | music |
|
| 音乐 | music |
|
||||||
| 视频播放 | video |
|
| 视频 | video |
|
||||||
| 图形图像 | image_graphics |
|
| 图像 | image_graphics |
|
||||||
| 游戏娱乐 | games |
|
| 游戏 | games |
|
||||||
| 办公学习 | office |
|
| 办公 | office |
|
||||||
| 阅读翻译 | reading |
|
| 阅读 | reading |
|
||||||
| 编程开发 | development |
|
| 开发 | development |
|
||||||
| 系统工具 | tools |
|
| 工具 | tools |
|
||||||
| 主题美化 | themes |
|
| 主题 | themes |
|
||||||
| 其他应用 | others |
|
| 其他 | others |
|
||||||
|
|||||||
7
DOCS/内网部署.md
Normal file
7
DOCS/内网部署.md
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
需要修改的内容:商店默认源位置,aptss获取apt-fast.conf和sparkstore.list的地址,ssinstall做安装检查的源位置
|
||||||
|
|
||||||
|
服务器使用update.sh进行同步。
|
||||||
|
|
||||||
|
为方便使用(其实是早期屎山使然),请将仓库放置于 `/home/ftp/spark-store`
|
||||||
|
|
||||||
|
仓库管理相关代码请移步 [这里](https://gitee.com/deepin-community-store/repo_auto_update_script),update.sh请联系 @shenmo 获取
|
||||||
12
debian/changelog
vendored
12
debian/changelog
vendored
@@ -1,6 +1,15 @@
|
|||||||
|
spark-store (4.2~test1) stable; urgency=medium
|
||||||
|
|
||||||
|
* feat: aptss支持显示报错
|
||||||
|
* feat: aptss部分提示汉化
|
||||||
|
* fix: 修复部分情况下ssinstall实际未安装但是错误显示
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
spark-store (4.1.2) stable; urgency=medium
|
spark-store (4.1.2) stable; urgency=medium
|
||||||
|
|
||||||
* feat: 初步的wayland支持
|
* feat: 初步的wayland支持
|
||||||
|
* feat: UOS下检测开发者模式是否开启,若未开启则拒绝安装
|
||||||
* fix: 首页的捐赠页面在中文环境下显示中文
|
* fix: 首页的捐赠页面在中文环境下显示中文
|
||||||
* fix: 更新检测模块在aptss ssupdate操作失败后现在会正确地移除锁而不是错误的残留锁。
|
* fix: 更新检测模块在aptss ssupdate操作失败后现在会正确地移除锁而不是错误的残留锁。
|
||||||
* chore: ssinstall现在拒绝安装验证失败的包,审核操作现在需要改用ssaudit
|
* chore: ssinstall现在拒绝安装验证失败的包,审核操作现在需要改用ssaudit
|
||||||
@@ -29,6 +38,8 @@ spark-store (4.1.2) stable; urgency=medium
|
|||||||
* chore: 暂时去除没有意义的 DBus 接口,使用 DGuiApplicationHelper::newProcessInstance 获取新进程的启动参数
|
* chore: 暂时去除没有意义的 DBus 接口,使用 DGuiApplicationHelper::newProcessInstance 获取新进程的启动参数
|
||||||
* chore: 更新翻译文件,去除已经不存在的翻译
|
* chore: 更新翻译文件,去除已经不存在的翻译
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
spark-store (4.1.2~test2) stable; urgency=medium
|
spark-store (4.1.2~test2) stable; urgency=medium
|
||||||
@@ -42,6 +53,7 @@ spark-store (4.1.2~test2) stable; urgency=medium
|
|||||||
spark-store (4.1.2~test1) stable; urgency=medium
|
spark-store (4.1.2~test1) stable; urgency=medium
|
||||||
|
|
||||||
* feat: 初步的wayland支持
|
* feat: 初步的wayland支持
|
||||||
|
* feat: UOS下检测开发者模式是否开启,若未开启则拒绝安装
|
||||||
* fix: 首页的捐赠页面在中文环境下显示中文
|
* fix: 首页的捐赠页面在中文环境下显示中文
|
||||||
* fix: 更新检测模块在aptss ssupdate操作失败后现在会正确地移除锁而不是错误的残留锁。
|
* fix: 更新检测模块在aptss ssupdate操作失败后现在会正确地移除锁而不是错误的残留锁。
|
||||||
* chore: ssinstall现在拒绝安装验证失败的包,审核操作现在需要改用ssaudit
|
* chore: ssinstall现在拒绝安装验证失败的包,审核操作现在需要改用ssaudit
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ DWIDGET_USE_NAMESPACE
|
|||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
// Get build time
|
// Get build time
|
||||||
static const QString version = "4.1.2";
|
static const QString version = "4.2~test1";
|
||||||
static const QDate buildDate = QLocale(QLocale::English).toDate(QString(__DATE__).replace(" ", " 0"), "MMM dd yyyy");
|
static const QDate buildDate = QLocale(QLocale::English).toDate(QString(__DATE__).replace(" ", " 0"), "MMM dd yyyy");
|
||||||
static const QTime buildTime = QTime::fromString(__TIME__, "hh:mm:ss");
|
static const QTime buildTime = QTime::fromString(__TIME__, "hh:mm:ss");
|
||||||
static const QString buildDateTime = buildDate.toString("yyyy.MM.dd") + "-" + buildTime.toString("hh:mm:ss");
|
static const QString buildDateTime = buildDate.toString("yyyy.MM.dd") + "-" + buildTime.toString("hh:mm:ss");
|
||||||
|
|||||||
@@ -207,7 +207,9 @@ fi
|
|||||||
msg_already_running()
|
msg_already_running()
|
||||||
{
|
{
|
||||||
msg "apt-fast already running!" "warning"
|
msg "apt-fast already running!" "warning"
|
||||||
|
msg "apt-fast 已经在运行了" "warning"
|
||||||
msg "Verify that all apt-fast processes are finished then remove $LCK_FILE.lock and try again." "hint"
|
msg "Verify that all apt-fast processes are finished then remove $LCK_FILE.lock and try again." "hint"
|
||||||
|
msg "请确认所有的apt-fast进程已经结束,然后删除 $LCK_FILE.lock 后重试." "hint"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Check if a lock file exists.
|
# Check if a lock file exists.
|
||||||
@@ -246,6 +248,7 @@ cleanup_dllist()
|
|||||||
if ! rm -f -- "$DLLIST" 2>/dev/null
|
if ! rm -f -- "$DLLIST" 2>/dev/null
|
||||||
then
|
then
|
||||||
msg "Could not clean up download list file." "warning"
|
msg "Could not clean up download list file." "warning"
|
||||||
|
msg "无法清除下载列表文件." "warning"
|
||||||
CLEANUP_STATE=1
|
CLEANUP_STATE=1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@@ -304,12 +307,14 @@ get_uris(){
|
|||||||
if ! mkdir -p -- "$(dirname "$DLLIST")"
|
if ! mkdir -p -- "$(dirname "$DLLIST")"
|
||||||
then
|
then
|
||||||
msg "Could not create download file directory." "warning"
|
msg "Could not create download file directory." "warning"
|
||||||
|
msg "无法创建下载文件夹" "warning"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
elif [ -f "$DLLIST" ]; then
|
elif [ -f "$DLLIST" ]; then
|
||||||
if ! rm -f -- "$DLLIST" 2>/dev/null && ! touch -- "$DLLIST" 2>/dev/null
|
if ! rm -f -- "$DLLIST" 2>/dev/null && ! touch -- "$DLLIST" 2>/dev/null
|
||||||
then
|
then
|
||||||
msg "Unable to write to download file. Try restarting with root permissions or run 'apt-fast clean' first." "warning"
|
msg "Unable to write to download file. Try restarting with root permissions or run 'aptss clean' first." "warning"
|
||||||
|
msg "无法下载文件。尝试使用root权限,或者运行 'aptss clean'" "warning"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@@ -326,7 +331,9 @@ get_uris(){
|
|||||||
uris_full_ret="$?"
|
uris_full_ret="$?"
|
||||||
if [ "$uris_full_ret" -ne 0 ]
|
if [ "$uris_full_ret" -ne 0 ]
|
||||||
then
|
then
|
||||||
msg "Package manager quit with exit code." "warning"
|
msg "Package manager quit with exit code.Here is the log" "warning"
|
||||||
|
msg "包管理器以错误代码退出.日志如下" "warning"
|
||||||
|
msg "${uris_full}"
|
||||||
exit "$uris_full_ret"
|
exit "$uris_full_ret"
|
||||||
fi
|
fi
|
||||||
while read -r pkg_uri_info
|
while read -r pkg_uri_info
|
||||||
@@ -396,6 +403,7 @@ get_uris(){
|
|||||||
checksum="$(echo "$patch_checksum" | cut -d' ' -f2)"
|
checksum="$(echo "$patch_checksum" | cut -d' ' -f2)"
|
||||||
else
|
else
|
||||||
msg "Couldn't get supported checksum for $pkg_name ($pkg_version)." "warning"
|
msg "Couldn't get supported checksum for $pkg_name ($pkg_version)." "warning"
|
||||||
|
msg "无法获得 $pkg_name ($pkg_version) 的受支持的散列验证值" "warning"
|
||||||
REMOVE_WORKING_MESSAGE=
|
REMOVE_WORKING_MESSAGE=
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@@ -434,6 +442,7 @@ display_downloadfile(){
|
|||||||
done <<<"$(echo -e "$DOWNLOAD_DISPLAY" | sort "${DISPLAY_SORT_OPTIONS[@]}")"
|
done <<<"$(echo -e "$DOWNLOAD_DISPLAY" | sort "${DISPLAY_SORT_OPTIONS[@]}")"
|
||||||
fi
|
fi
|
||||||
msg "Download size: $(echo "$DOWNLOAD_SIZE" | numfmt --to=iec-i --suffix=B)" "normal"
|
msg "Download size: $(echo "$DOWNLOAD_SIZE" | numfmt --to=iec-i --suffix=B)" "normal"
|
||||||
|
msg "下载大小: $(echo "$DOWNLOAD_SIZE" | numfmt --to=iec-i --suffix=B)" "normal"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Create and insert a PID number to lockfile.
|
# Create and insert a PID number to lockfile.
|
||||||
@@ -477,6 +486,7 @@ if [ "$CMD" == "aria2c" ]; then
|
|||||||
done
|
done
|
||||||
if [ -z "$HASH_SUPPORTED" ]; then
|
if [ -z "$HASH_SUPPORTED" ]; then
|
||||||
msg "Couldn't find supported checksum algorithm from aria2c. Checksums disabled." "warning"
|
msg "Couldn't find supported checksum algorithm from aria2c. Checksums disabled." "warning"
|
||||||
|
msg "无法找到aria2c支持的散列验证算法. 散列验证已被禁用." "warning"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -531,6 +541,7 @@ fi
|
|||||||
if [ "$option" == "install" ]; then
|
if [ "$option" == "install" ]; then
|
||||||
msg
|
msg
|
||||||
msg "Working... this may take a while." "normal"
|
msg "Working... this may take a while." "normal"
|
||||||
|
msg "正在工作中,请稍等" "normal"
|
||||||
REMOVE_WORKING_MESSAGE=y
|
REMOVE_WORKING_MESSAGE=y
|
||||||
|
|
||||||
get_uris "$@"
|
get_uris "$@"
|
||||||
@@ -598,6 +609,7 @@ elif [ "$option" == "clean" ]; then
|
|||||||
elif [ "$option" == "download" ]; then
|
elif [ "$option" == "download" ]; then
|
||||||
msg
|
msg
|
||||||
msg "Working... this may take a while." "normal"
|
msg "Working... this may take a while." "normal"
|
||||||
|
msg "正在工作中,请稍等" "normal"
|
||||||
REMOVE_WORKING_MESSAGE=y
|
REMOVE_WORKING_MESSAGE=y
|
||||||
|
|
||||||
get_uris "$@"
|
get_uris "$@"
|
||||||
@@ -616,6 +628,7 @@ elif [ "$option" == "download" ]; then
|
|||||||
elif [ "$option" == "source" ]; then
|
elif [ "$option" == "source" ]; then
|
||||||
msg
|
msg
|
||||||
msg "Working... this may take a while." "normal"
|
msg "Working... this may take a while." "normal"
|
||||||
|
msg "正在工作中,请稍等" "normal"
|
||||||
REMOVE_WORKING_MESSAGE=y
|
REMOVE_WORKING_MESSAGE=y
|
||||||
|
|
||||||
get_uris "$@"
|
get_uris "$@"
|
||||||
|
|||||||
@@ -28,6 +28,6 @@ fi
|
|||||||
DEBPATH=`realpath $1`
|
DEBPATH=`realpath $1`
|
||||||
|
|
||||||
echo ----------------------------------------------------------------------------------
|
echo ----------------------------------------------------------------------------------
|
||||||
dpkg -i "$DEBPATH" || aptss install -yf
|
aptss install -yf --reinstall "$DEBPATH"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ if [ ! -z "$IS_MD5SUM_CHECKD" ];then
|
|||||||
|
|
||||||
echo "校验成功,开始安装"
|
echo "校验成功,开始安装"
|
||||||
echo ----------------------------------------------------------------------------------
|
echo ----------------------------------------------------------------------------------
|
||||||
dpkg -i "$DEBPATH" || aptss install -yf
|
aptss install -yf --reinstall "$DEBPATH"
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user