mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-17 01:21:36 +08:00
Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| fd3dd1d846 | |||
| 63ca640c31 | |||
| e67d3fab76 | |||
| d01fe44152 | |||
| 43042b5ae7 | |||
| 874adcbc5e | |||
| 9614efa0aa | |||
| b1499b5942 |
14
debian/changelog
vendored
14
debian/changelog
vendored
@@ -1,3 +1,17 @@
|
|||||||
|
spark-store (3.5.3) stable; urgency=medium
|
||||||
|
|
||||||
|
* fix: sender-d功能修复
|
||||||
|
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store> Fri, 30 Jan 2022 00:00:00 +0800
|
||||||
|
|
||||||
|
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
|
spark-store (3.5.1.1) stable; urgency=medium
|
||||||
|
|
||||||
* fix: aptss shebang 修复
|
* fix: aptss shebang 修复
|
||||||
|
|||||||
2
debian/spark-store.prerm
vendored
2
debian/spark-store.prerm
vendored
@@ -8,8 +8,10 @@ rm /usr/local/bin/spark-dstore-patch
|
|||||||
rm /usr/local/bin/ussinstall
|
rm /usr/local/bin/ussinstall
|
||||||
rm /usr/local/bin/ussremove
|
rm /usr/local/bin/ussremove
|
||||||
rm /usr/local/bin/ss-apt-fast
|
rm /usr/local/bin/ss-apt-fast
|
||||||
|
|
||||||
rm /usr/bin/aptss
|
rm /usr/bin/aptss
|
||||||
|
|
||||||
|
|
||||||
rm -rf /etc/aptss/
|
rm -rf /etc/aptss/
|
||||||
|
|
||||||
# Remove Sender module
|
# Remove Sender module
|
||||||
|
|||||||
@@ -212,7 +212,7 @@ void DownloadController::startDownload(const QString &url)
|
|||||||
QProcess mailProcess;
|
QProcess mailProcess;
|
||||||
mailProcess.start(SenderdPath.toUtf8() + " " + metaUrl.toUtf8() + " " + "HD70642");
|
mailProcess.start(SenderdPath.toUtf8() + " " + metaUrl.toUtf8() + " " + "HD70642");
|
||||||
mailProcess.waitForStarted();
|
mailProcess.waitForStarted();
|
||||||
mailProcess.waitForFinished(3);
|
mailProcess.waitForFinished();
|
||||||
mailProcess.deleteLater();
|
mailProcess.deleteLater();
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,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 = "Version 3.5.1.1";
|
static const QString version = "Version 3.5.3";
|
||||||
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");
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
apt-fast(){
|
|
||||||
/opt/durapps/spark-store/bin/apt-fast/ss-apt-fast "$@"
|
|
||||||
}
|
|
||||||
|
|
||||||
if [ ! -e "/tmp/aptss-conf/apt-fast.conf" ];then
|
if [ ! -e "/tmp/aptss-conf/apt-fast.conf" ];then
|
||||||
###刷新apt-fast配置
|
###刷新apt-fast配置
|
||||||
@@ -27,7 +25,7 @@ sudo bwrap --dev-bind / / --bind '/opt/durapps/spark-store/bin/apt-fast-conf/sou
|
|||||||
bwrap --dev-bind / / \
|
bwrap --dev-bind / / \
|
||||||
--bind '/tmp/aptss-conf/apt-fast.conf' /etc/apt-fast.conf \
|
--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 \
|
--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
|
/opt/durapps/spark-store/bin/apt-fast/ss-apt-fast "$@" --allow-downgrades
|
||||||
|
|
||||||
|
|
||||||
elif [ "$1" = "download" ];then
|
elif [ "$1" = "download" ];then
|
||||||
@@ -36,7 +34,7 @@ elif [ "$1" = "download" ];then
|
|||||||
bwrap --dev-bind / / \
|
bwrap --dev-bind / / \
|
||||||
--bind '/tmp/aptss-conf/apt-fast.conf' /etc/apt-fast.conf \
|
--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 \
|
--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
|
/opt/durapps/spark-store/bin/apt-fast/ss-apt-fast "$@" --allow-downgrades
|
||||||
|
|
||||||
|
|
||||||
elif [ "$1" = "policy" ] || [ "$1" = "search" ];then
|
elif [ "$1" = "policy" ] || [ "$1" = "search" ];then
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ fi
|
|||||||
##############判断是否是root运行,如果是,则正常走;如果不是,则代输密码
|
##############判断是否是root运行,如果是,则正常走;如果不是,则代输密码
|
||||||
if [ "$(id -u)" != "0" ];then
|
if [ "$(id -u)" != "0" ];then
|
||||||
#############################无root权限时
|
#############################无root权限时
|
||||||
----------------------------------------------------------------------------------
|
echo ----------------------------------------------------------------------------------
|
||||||
echo "$upass" | sudo -S dpkg -i $1 || sudo aptss install -yf
|
echo "$upass" | sudo -S dpkg -i $1 || sudo aptss install -yf
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user