mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-07-12 16:42:21 +08:00
arm架构applist支持
This commit is contained in:
parent
842f0893b3
commit
cb66f5e903
@ -47,11 +47,17 @@ void AppListPage::getAppList(QString 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
|
||||
{
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user