mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-13 12:22:05 +08:00
!126 324t3发版
* 3.2.4~test3 * 修改: debian/changelog * !125 fix: 对oss进行URL转译 * Merge remote-tracking branch 'upstream/dev' into dev * fix: 对oss进行URL转译 * !124 fix: 安装时可能出现的超时错误 * update debian/changelog. * update src/widget.cpp. * Merge remote-tracking branch 'upstream/dev' into dev * update debian/changelog. * Merge remote-tracking branch 'upstream/dev' into dev * fix: 超时错误 * update README.zh.md. * update README.md. * update README.zh.md. * update debian/changelog. * !123 feat: 投稿器 * feat: 投稿器 * !122 fix:gpu 参数 * fix: chrome GPU 参数 * Merge remote-tracking branch 'upstream/dev' into dev * 修复错误的配置文件 * 改为读取/etc * update debian/changelog. * UOS 走普通的aptss,aptss支持UOS源 * 更新时不再清除免密码安装设置 * !121 反向同步 * fix * Merge remote-tracking branch 'upstream/dev' into dev * fix: high CPU usage because futex is still waiting for queue after illegal exit * Merge remote-tracking branch 'upstream/master' into dev * Merge remote-tracking branch 'upstream/dev' into dev * feat: enable GPU * Merge remote-tracking branch 'upstream/dev' into dev * Merge branch 'dev' of gitee.com:uniartisan2018/spark-store into dev * feat: 清除网页缓存 * 文案修改 * update src/widget.ui. * feat: 星火应用商店检测更新
This commit is contained in:
@@ -14,6 +14,17 @@
|
||||
_APTMGR=apt
|
||||
|
||||
|
||||
####
|
||||
#
|
||||
# UOS sources auth config
|
||||
#
|
||||
#
|
||||
if grep -Eqi "UnionTech" /etc/issue || grep -Eq "UnionTech" /etc/*-release;then
|
||||
AUTH_UOS_USER="uos-https://license.chinauos.com-apt"
|
||||
AUTH_UOS_PASSWD="`cat /etc/apt/auth.conf.d/uos.conf | grep home-packages.chinauos.com`"
|
||||
AUTH_UOS_PASSWD=`echo ${AUTH_UOS_PASSWD#*password }`
|
||||
|
||||
fi
|
||||
# Enable DOWNLOADBEFORE to suppress apt-fast confirmation dialog and download
|
||||
# packages directly.
|
||||
#
|
||||
@@ -54,7 +65,7 @@ DOWNLOADBEFORE=true
|
||||
#
|
||||
# Default: disabled
|
||||
#
|
||||
MIRRORS=( 'https://d.store.deepinos.org.cn/,https://d1.store.deepinos.org.cn/,https://d2.store.deepinos.org.cn/,https://d3.store.deepinos.org.cn/,https://d4.store.deepinos.org.cn/,https://d5.store.deepinos.org.cn/,http://cdn.dl.uniartisan.com:9000/deepinos/' )
|
||||
MIRRORS=( 'https://d.store.deepinos.org.cn/,https://mirrors.sdu.edu.cn/spark-store-repository/,http://cdn.dl.uniartisan.com:9000/deepinos/,https://d1.store.deepinos.org.cn/,https://d2.store.deepinos.org.cn/,https://d4.store.deepinos.org.cn/,https://d5.store.deepinos.org.cn/' )
|
||||
|
||||
|
||||
# Maximum number of connections
|
||||
@@ -68,14 +79,10 @@ _MAXNUM=5
|
||||
# Maximum number of connections per server
|
||||
# Default: 10
|
||||
#
|
||||
_MAXCONPERSRV=10
|
||||
_MAXCONPERSRV=1
|
||||
|
||||
|
||||
|
||||
# Download file using given number of connections
|
||||
# If more than N URIs are given, first N URIs are used and remaining URIs are used for backup.
|
||||
# If less than N URIs are given, those URIs are used more than once so that N connections total are made simultaneously.
|
||||
#
|
||||
_SPLITCON=8
|
||||
|
||||
|
||||
# Split size i.e. size of each piece
|
||||
@@ -93,6 +100,7 @@ _MINSPLITSZ=1M
|
||||
_PIECEALGO=default
|
||||
|
||||
|
||||
|
||||
# Downloadmanager listfile
|
||||
# You can use this value in _DOWNLOADER command. Escape with ${}: ${DLLIST}
|
||||
#
|
||||
@@ -118,7 +126,7 @@ DLLIST='/tmp/apt-fast.list'
|
||||
#
|
||||
# Default: _DOWNLOADER='aria2c --no-conf -c -j ${_MAXNUM} -x ${_MAXCONPERSRV} -s ${_SPLITCON} --min-split-size=${_MINSPLITSZ} --stream-piece-selector=${_PIECEALGO} -i ${DLLIST} --connect-timeout=600 --timeout=600 -m0'
|
||||
#
|
||||
_DOWNLOADER='aria2c --no-conf -c -j ${_MAXNUM} -x ${_MAXCONPERSRV} -s ${_SPLITCON} --min-split-size=${_MINSPLITSZ} --stream-piece-selector=${_PIECEALGO} -i ${DLLIST} --connect-timeout=600 --timeout=600 -m0'
|
||||
_DOWNLOADER='aria2c --no-conf -c -j ${_MAXNUM} -x ${_MAXCONPERSRV} --min-split-size=${_MINSPLITSZ} --stream-piece-selector=${_PIECEALGO} -i ${DLLIST} --connect-timeout=600 --timeout=600 -m0 --http-user ${AUTH_UOS_USER} --http-passwd ${AUTH_UOS_PASSWD}'
|
||||
|
||||
|
||||
# Download temp folder for Downloadmanager
|
||||
|
||||
Reference in New Issue
Block a user