mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-16 17:11:37 +08:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9ac0c67a25 | |||
| cb66f5e903 | |||
| 842f0893b3 | |||
| f5a35a332a | |||
| 0ba0587e17 |
12
debian/changelog
vendored
12
debian/changelog
vendored
@@ -1,3 +1,15 @@
|
|||||||
|
spark-store (4.2.6.2) stable; urgency=medium
|
||||||
|
* 新增:支持arm架构搜索
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store>
|
||||||
|
|
||||||
|
|
||||||
|
spark-store (4.2.6.1) stable; urgency=medium
|
||||||
|
* 修复:mint下更新检测不正常
|
||||||
|
|
||||||
|
-- shenmo <shenmo@spark-app.store>
|
||||||
|
|
||||||
|
|
||||||
spark-store (4.2.6) stable; urgency=medium
|
spark-store (4.2.6) stable; urgency=medium
|
||||||
* 修复:截图加载失败时点击闪退
|
* 修复:截图加载失败时点击闪退
|
||||||
|
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
QString SparkAPI::serverUrl = "";
|
QString SparkAPI::serverUrl = "";
|
||||||
#ifdef __x86_64__
|
#ifdef __x86_64__
|
||||||
QString SparkAPI::serverUrlDir = "store";
|
QString SparkAPI::serverUrlDir = "store";
|
||||||
|
|
||||||
#elif __aarch64__
|
#elif __aarch64__
|
||||||
QString SparkAPI::serverUrlDir = "aarch64-store";
|
QString SparkAPI::serverUrlDir = "aarch64-store";
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -40,30 +40,24 @@ void AppListPage::getAppList(QString type)
|
|||||||
if (isDark)
|
if (isDark)
|
||||||
{
|
{
|
||||||
theme = "theme=dark";
|
theme = "theme=dark";
|
||||||
#ifdef __aarch64__
|
|
||||||
theme = "dark";
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
theme = "theme=light";
|
theme = "theme=light";
|
||||||
#ifdef __aarch64__
|
|
||||||
theme = "";
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
if (type == "")
|
if (type == "")
|
||||||
{
|
{
|
||||||
url = api->getServerUrl() + SparkAPI::getArchDir() + "/#/flamescion/?" + theme;
|
url = api->getServerUrl() + SparkAPI::getArchDir() + "/#/flamescion/?" + theme + "&" + "arch=x86";
|
||||||
#ifdef __aarch64__
|
#ifdef __aarch64__
|
||||||
url = api->getServerUrl() + "aarch64-store/#/"+ theme;
|
url = api->getServerUrl() + SparkAPI::getArchDir() + "/#/flamescion/?" + theme + "&" + "arch=aarch64";
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
url = api->getServerUrl() + SparkAPI::getArchDir() + "/#/flamescion/applist?type=" + type + "&" + theme;
|
url = api->getServerUrl() + SparkAPI::getArchDir() + "/#/flamescion/applist?type=" + type + "&" + theme + "&" + "arch=x86";
|
||||||
#ifdef __aarch64__
|
#ifdef __aarch64__
|
||||||
url = api->getServerUrl() + "aarch64-store/#/"+ theme + type;
|
url = api->getServerUrl() + SparkAPI::getArchDir() + "/#/flamescion/applist?type=" + type + "&" + theme + "&" + "arch=aarch64";
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
ui->webEngineView->setUrl(url);
|
ui->webEngineView->setUrl(url);
|
||||||
@@ -85,7 +79,11 @@ void AppListPage::getSearchList(const QString &keyword)
|
|||||||
{
|
{
|
||||||
theme = "theme=light";
|
theme = "theme=light";
|
||||||
}
|
}
|
||||||
url = api->getServerUrl() + SparkAPI::getArchDir() + "/#/flamescion/search?keywords=" + QUrl::toPercentEncoding(keyword) + "&" + theme;
|
|
||||||
|
url = api->getServerUrl() + SparkAPI::getArchDir() + "/#/flamescion/search?keywords=" + QUrl::toPercentEncoding(keyword) + "&" + theme + "&" + "arch=x86";
|
||||||
|
#ifdef __aarch64__
|
||||||
|
url = api->getServerUrl() + SparkAPI::getArchDir() + "/#/flamescion/search?keywords=" + QUrl::toPercentEncoding(keyword) + "&" + theme + "&" + "arch=aarch64";
|
||||||
|
#endif
|
||||||
ui->webEngineView->setUrl(url);
|
ui->webEngineView->setUrl(url);
|
||||||
delete api;
|
delete api;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ case $1 in
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
upgradable-list)
|
upgradable-list)
|
||||||
output=$(env LANGUAGE=en_US apt -c /opt/durapps/spark-store/bin/apt-fast-conf/aptss-apt.conf list --upgradable -o Dir::Etc::sourcelist="/opt/durapps/spark-store/bin/apt-fast-conf/sources.list.d/sparkstore.list" -o Dir::Etc::sourceparts="/dev/null" -o APT::Get::List-Cleanup="0" | awk NR\>1)
|
output=$(env LANGUAGE=en_US /usr/bin/apt -c /opt/durapps/spark-store/bin/apt-fast-conf/aptss-apt.conf list --upgradable -o Dir::Etc::sourcelist="/opt/durapps/spark-store/bin/apt-fast-conf/sources.list.d/sparkstore.list" -o Dir::Etc::sourceparts="/dev/null" -o APT::Get::List-Cleanup="0" | awk NR\>1)
|
||||||
|
|
||||||
IFS_OLD="$IFS"
|
IFS_OLD="$IFS"
|
||||||
IFS=$'\n'
|
IFS=$'\n'
|
||||||
|
|||||||
Reference in New Issue
Block a user