aptss 4.7.0

This commit is contained in:
shenmo 2025-04-13 19:13:08 +08:00
parent 6697bd04f1
commit 819e680222
4 changed files with 21 additions and 10 deletions

@ -152,7 +152,7 @@ You will see an output, and that's your system architecture.
Please refer to the [Spark App Store FAQ and Support Guide](https://gitee.com/spark-store-project/spark-store/blob/dev/FAQ.md). Please refer to the [Spark App Store FAQ and Support Guide](https://gitee.com/spark-store-project/spark-store/blob/dev/FAQ.md).
You can also check the [Chinese version](https://gitee.com/spark-store-project/spark-store/blob/dev/FAQ.zh.md) here. To customly configure aptss, refer to [aptss](https://gitee.com/GXDE-OS/aptss)
--- ---

@ -171,9 +171,11 @@ https://github.com/spark-store-project/spark-store
## 常见问题FAQ ## 常见问题FAQ
请参见[星火应用商店FAQ与支持指南](https://gitee.com/spark-store-project/spark-store/blob/dev/FAQ.md)。 请参见[星火应用商店FAQ与支持指南](https://gitee.com/spark-store-project/spark-store/blob/dev/FAQ.zh.md)。
自定义配置 aptss config 请参阅 [aptss](https://gitee.com/GXDE-OS/aptss)
在这里可以查阅[中文版本](https://gitee.com/spark-store-project/spark-store/blob/dev/FAQ.zh.md)。
--- ---

@ -186,12 +186,21 @@ VERBOSE_OUTPUT=
# Download command. # Download command.
_DOWNLOADER='aria2c --no-conf -c -j ${_MAXNUM} -x ${_MAXCONPERSRV} -s ${_SPLITCON} -i ${DLLIST} --min-split-size=${_MINSPLITSZ} --stream-piece-selector=${_PIECEALGO} --connect-timeout=60 --timeout=600 -m0' _DOWNLOADER='aria2c --no-conf -c -j ${_MAXNUM} -x ${_MAXCONPERSRV} -s ${_SPLITCON} -i ${DLLIST} --min-split-size=${_MINSPLITSZ} --stream-piece-selector=${_PIECEALGO} --connect-timeout=60 --timeout=600 -m0'
# Load config file. # 定义默认的配置文件列表(按加载顺序排列)
CONFFILE="/tmp/aptss-conf/apt-fast.conf" CONFIG_FILES=(
#### Spark Store apt-fast conf is in /tmp "/tmp/aptss-conf/apt-fast.conf" # 原始配置文件位置
if [ -e "$CONFFILE" ]; then "/etc/aptss/apt-fast.conf" # 系统级配置
source "$CONFFILE" )
fi
# 按顺序加载所有配置文件
for conf_file in "${CONFIG_FILES[@]}"; do
if [ -e "$conf_file" ]; then
source "$conf_file"
fi
done
# no proxy as default # no proxy as default
ftp_proxy= ftp_proxy=

@ -7,7 +7,7 @@ source /opt/durapps/spark-store/bin/bashimport/log.amber
load_transhell load_transhell
case `arch` in case `arch` in
x86_64) x86_64 | i686 | i386)
STORE_URL="store" STORE_URL="store"
STORE_LIST_URL="" STORE_LIST_URL=""
;; ;;