Compare commits

...

16 Commits

Author SHA1 Message Date
00cb5d2442 update debian/DEBIAN/postinst. 不再需要新的key了 2022-01-14 07:17:50 +00:00
9a84dfffd0 修改: debian/opt/durapps/spark-store/bin/spark-store
修改:     src/main.cpp
2022-01-14 00:36:57 +08:00
45a2b0b8c8 修改: debian/DEBIAN/postinst 2022-01-14 00:30:25 +08:00
a947963fc1 修改: debian/DEBIAN/control
删除:     spark-store_3.0.3-7_amd64.deb
2022-01-13 23:43:39 +08:00
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
31ecde133e update debian/DEBIAN/control. 2021-10-26 12:02:41 +00:00
d6d40d2b78 修改: debian/usr/share/spark-store/translations/spark-store_zh_CN.qm
修改:     src/widget.ui
	修改:     translations/spark-store_zh_CN.qm
	修改:     translations/spark-store_zh_CN.ts
2021-10-24 23:46:36 +08:00
15 changed files with 42 additions and 16 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 ./

View File

@@ -1,10 +1,11 @@
Package: spark-store
Version: 3.0.3-4
Version: 3.0.3-8
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: https://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-8 update
Conflicts: spark-dstore-patch(<=1.2)

View File

@@ -1,17 +1,34 @@
#!/bin/sh
if [ "$1" = "triggered" ]; then
if [ -f "/usr/bin/deepin-app-store-tool" ]; then
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
apt-key add dcs-repo.gpg-key.asc
# wget https://d.store.deepinos.org.cn/ssrepokey.asc
# apt-key add ssrepokey.asc
update-icon-caches /usr/share/icons/hicolor || true
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.

View File

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

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-8"));
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/"));
}

View File

@@ -489,8 +489,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>889</width>
<height>847</height>
<width>903</width>
<height>849</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_17">
@@ -993,8 +993,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>851</width>
<height>326</height>
<width>869</width>
<height>325</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_4">
@@ -1123,8 +1123,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>697</width>
<height>808</height>
<width>738</width>
<height>886</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_23">

Binary file not shown.

View File

@@ -462,7 +462,7 @@
<message>
<location filename="../src/widget.ui" line="912"/>
<source>Request Update</source>
<translation type="unfinished"></translation>
<translation type="unfinished">/</translation>
</message>
<message>
<location filename="../src/widget.ui" line="1194"/>