mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-10-09 03:42:20 +08:00
arm架构applist支持
This commit is contained in:
parent
842f0893b3
commit
cb66f5e903
@ -47,11 +47,17 @@ void AppListPage::getAppList(QString type)
|
|||||||
}
|
}
|
||||||
if (type == "")
|
if (type == "")
|
||||||
{
|
{
|
||||||
url = api->getServerUrl() + SparkAPI::getArchDir() + "/#/flamescion/?" + theme;
|
url = api->getServerUrl() + SparkAPI::getArchDir() + "/#/flamescion/?" + theme + "&" + "arch=x86";
|
||||||
|
#ifdef __aarch64__
|
||||||
|
url = api->getServerUrl() + SparkAPI::getArchDir() + "/#/flamescion/?" + theme + "&" + "arch=aarch64";
|
||||||
|
#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__
|
||||||
|
url = api->getServerUrl() + SparkAPI::getArchDir() + "/#/flamescion/applist?type=" + type + "&" + theme + "&" + "arch=aarch64";
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
ui->webEngineView->setUrl(url);
|
ui->webEngineView->setUrl(url);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user