diff --git a/debian/changelog b/debian/changelog index ac0b3c1..89482ec 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +spark-store (3.5.2) stable; urgency=medium + + * fix: aptss 转为使用内置的ss-apt-fast指令 + + +-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800 + spark-store (3.5.1.1) stable; urgency=medium * fix: aptss shebang 修复 diff --git a/debian/spark-store.postinst b/debian/spark-store.postinst index f00831e..f73fc5d 100755 --- a/debian/spark-store.postinst +++ b/debian/spark-store.postinst @@ -26,10 +26,10 @@ case "$1" in ln -s -f /opt/durapps/spark-store/bin/spark-store /usr/local/bin/spark-store ln -s -f /opt/durapps/spark-store/bin/ssinstall /usr/local/bin/ssinstall ln -s -f /opt/durapps/spark-store/bin/spark-dstore-patch /usr/local/bin/spark-dstore-patch - ln -s -f /opt/durapps/spark-store/bin/aptss /usr/local/bin/ss-apt-fast + ln -s -f /opt/durapps/spark-store/bin/aptss /usr/bin/aptss - + ln -s -f /opt/durapps/spark-store/bin/apt-fast/ss-apt-fast /usr/bin/ss-apt-fast # Compile the Sender module gcc /opt/durapps/spark-store/bin/ss-feedback/sender-d.sh.c -o /opt/durapps/spark-store/bin/ss-feedback/sender-d diff --git a/debian/spark-store.prerm b/debian/spark-store.prerm index 8c44924..be9c37d 100755 --- a/debian/spark-store.prerm +++ b/debian/spark-store.prerm @@ -7,8 +7,9 @@ rm /usr/local/bin/ssinstall rm /usr/local/bin/spark-dstore-patch rm /usr/local/bin/ussinstall rm /usr/local/bin/ussremove -rm /usr/local/bin/ss-apt-fast + rm /usr/bin/aptss +rm /usr/bin/ss-apt-fast rm -rf /etc/aptss/ diff --git a/src/main.cpp b/src/main.cpp index 75bfdc0..41d9137 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -20,7 +20,7 @@ DWIDGET_USE_NAMESPACE int main(int argc, char *argv[]) { // Get build time - static const QString version = "Version 3.5.1.1"; + static const QString version = "Version 3.5.2"; 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"); diff --git a/tool/aptss b/tool/aptss index 2d2d70c..dac7208 100755 --- a/tool/aptss +++ b/tool/aptss @@ -1,8 +1,6 @@ #!/bin/bash -apt-fast(){ -/opt/durapps/spark-store/bin/apt-fast/ss-apt-fast "$@" -} + if [ ! -e "/tmp/aptss-conf/apt-fast.conf" ];then ###刷新apt-fast配置 @@ -27,7 +25,7 @@ sudo bwrap --dev-bind / / --bind '/opt/durapps/spark-store/bin/apt-fast-conf/sou bwrap --dev-bind / / \ --bind '/tmp/aptss-conf/apt-fast.conf' /etc/apt-fast.conf \ --bind '/opt/durapps/spark-store/bin/apt-fast-conf/sources.list.d/sparkstore.list' /etc/apt/sources.list.d/sparkstore.list \ - apt-fast "$@" --allow-downgrades + ss-apt-fast "$@" --allow-downgrades elif [ "$1" = "download" ];then @@ -36,7 +34,7 @@ elif [ "$1" = "download" ];then bwrap --dev-bind / / \ --bind '/tmp/aptss-conf/apt-fast.conf' /etc/apt-fast.conf \ --bind '/opt/durapps/spark-store/bin/apt-fast-conf/sources.list.d/sparkstore.list' /etc/apt/sources.list.d/sparkstore.list \ - apt-fast "$@" --allow-downgrades + ss-apt-fast "$@" --allow-downgrades elif [ "$1" = "policy" ] || [ "$1" = "search" ];then