Compare commits

..

10 Commits

Author SHA1 Message Date
6982a97d22 修改: src/downloadlist.cpp 2021-12-13 20:12:21 +08:00
1ba01588f0 修改: debian/DEBIAN/control
新文件:   debian/opt/durapps/spark-store/bin/spark-dstore-patch
2021-12-13 20:07:33 +08:00
4a7f9f7500 修改: build.sh
新文件:   spark-dstore-patch
2021-12-11 23:28:58 +08:00
47690ee666 修改: debian/DEBIAN/triggers
修改:     debian/opt/durapps/spark-store/bin/spark-store
2021-12-11 23:23:33 +08:00
3477d50689 修改: debian/DEBIAN/control
修改:     debian/opt/durapps/spark-store/bin/spark-store
	修改:     debian/usr/share/spark-store/translations/spark-store_zh_CN.qm
	修改:     src/main.cpp
	修改:     src/widget.cpp
2021-12-11 23:18:40 +08:00
abf1e0df71 add debian/DEBIAN/triggers. 2021-12-11 09:52:54 +00:00
1ac033e850 update debian/DEBIAN/postrm. 2021-12-11 09:52:30 +00:00
c2d9b0324a update debian/DEBIAN/postinst. 2021-12-11 09:52:17 +00:00
5727b54c3f update debian/DEBIAN/control. 2021-12-11 09:52:04 +00:00
d796d296c0 update build.sh. 2021-11-24 20:37:42 +00:00
13 changed files with 35 additions and 9 deletions

View File

@@ -11,9 +11,10 @@ make -j$(cat /proc/cpuinfo | grep "processor" | wc -l)
cd ..
cp ./ssinstall ./debian/opt/durapps/spark-store/bin/
cp ./spark-dstore-patch ./debian/opt/durapps/spark-store/bin/
cp ./build/src/spark-store ./debian/opt/durapps/spark-store/bin/
cp ./translations/*.qm ./debian/usr/share/spark-store/translations/
version=$(cat ./debian/DEBIAN/control | grep "Version" | awk -F ' ' '{print $2}')
fakeroot dpkg -b ./debian ./spark-store_"$version"_amd64.deb
fakeroot dpkg -b ./debian ./

10
debian/DEBIAN/control vendored
View File

@@ -1,10 +1,12 @@
Package: spark-store
Version: 3.0.3-5
Version: 3.0.3-7
Maintainer: shenmo <shenmo@spark-app.store>
Section: utils
Source: https://gitee.com/deepin-community-store/spark-store
Homepage: https://gitee.com/kuyewen/spark-store/tree/multiple
Homepage: ttps://gitee.com/deepin-community-store/spark-store
Architecture: amd64
Priority: optional
Depends: libc6 (>= 2.14), libgcc1 (>= 1:3.0), libstdc++6 (>= 5.2), libqt5core5a (>= 5.11.0~rc1), libqt5gui5 (>= 5.11.0~rc1), libqt5widgets5 (>= 5.11.0~rc1), libqt5network5 (>= 5.11.0~rc1), libqt5webenginewidgets5 (>= 5.11.0~rc1), libqt5concurrent5 (>= 5.11.0~rc1), libdtkcore5 (>= 5.2.1-1), libdtkwidget5 (>= 5.2.1-1), libdtkgui5 (>= 5.2.0-1), libglib2.0-0, libgdk-pixbuf2.0-0, libnotify4, wget, curl, gdebi-core, gnupg
Description: Spark Store version 3.0.3-4 update
Depends: libc6 (>= 2.14), libgcc1 (>= 1:3.0), libstdc++6 (>= 5.2), libqt5core5a (>= 5.11.0~rc1), libqt5gui5 (>= 5.11.0~rc1), libqt5widgets5 (>= 5.11.0~rc1), libqt5network5 (>= 5.11.0~rc1), libqt5webenginewidgets5 (>= 5.11.0~rc1), libqt5concurrent5 (>= 5.11.0~rc1), libdtkcore5 (>= 5.2.1-1), libdtkwidget5 (>= 5.2.1-1), libdtkgui5 (>= 5.2.0-1), libglib2.0-0, libgdk-pixbuf2.0-0, libnotify4, wget, curl, gnupg
Description: Spark Store version 3.0.3-7 update
Provides: deepin-app-store
Conflicts: spark-dstore-patch

View File

@@ -1,9 +1,22 @@
#!/bin/sh
if [ "$1" = "triggered" ]; then
echo '------------星火应用商店现已集成UOS包补丁工具---------------'
if [ -f "/usr/bin/deepin-app-store-tool" ]; then
echo '----------检测到已安装深度应用商店,不运行补丁---------------'
exit 0
fi
echo '--------检测到Uniontech标准软件包运行补丁以修正安装--------'
/usr/local/bin/spark-dstore-patch
echo '-----------spark-dstore-patch补丁工具已运行完毕-----------'
else
mkdir -p /usr/local/bin
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
cd /tmp/spark-store-install
wget https://d.store.deepinos.org.cn/dcs-repo.gpg-key.asc
@@ -14,4 +27,7 @@ update-desktop-database /usr/share/applications || true
xdg-mime default spark-store.desktop x-scheme-handler/spk
update-mime-database /usr/share/mime || true
exit 0
fi
exit 0
# /tmp/spark-store-install/feedback.sh

View File

@@ -2,6 +2,7 @@
rm /usr/local/bin/spark-store
rm /usr/local/bin/ssinstall
rm /usr/local/bin/spark-dstore-patch
update-icon-caches /usr/share/icons/hicolor || true
update-desktop-database /usr/share/applications || true

1
debian/DEBIAN/triggers vendored Normal file
View File

@@ -0,0 +1 @@
interest-noawait /opt/apps

Binary file not shown.

Binary file not shown.

BIN
spark-dstore-patch Executable file

Binary file not shown.

Binary file not shown.

View File

@@ -51,8 +51,13 @@ downloadlist::downloadlist(QWidget *parent) :
{
menu_install->addAction(action_deepin);
}
menu_install->addAction(action_gdebi);
QFile gdebi("/usr/bin/gdebi");
gdebi.open(QIODevice::ReadOnly);
if(gdebi.isOpen())
{
menu_install->addAction(action_gdebi);
}
}
downloadlist::~downloadlist()

View File

@@ -42,7 +42,7 @@ int main(int argc, char *argv[])
a.setOrganizationName("spark-union");
a.setOrganizationDomain("https://www.deepinos.org/");
a.setApplicationName("Spark Store"); //不需要翻译,否则 ~/.local/share/ 下文件夹名称也被翻译为中文
a.setApplicationVersion(DApplication::buildVersion("3.0.3 LTS"));
a.setApplicationVersion(DApplication::buildVersion("3.0.3-7"));
a.setApplicationAcknowledgementPage("https://gitee.com/deepin-community-store/spark-store");
a.setApplicationDescription(
QObject::tr(

View File

@@ -1369,6 +1369,6 @@ void Widget::on_webEngineView_loadFinished(bool arg1)
void Widget::on_pushButton_update_clicked()
{
QDesktopServices::openUrl(QUrl("http://www.shenmo.tech:420/?p=485"));
QDesktopServices::openUrl(QUrl("https://www.deepinos.org/"));
}