diff --git a/extras/spark-store b/extras/spark-store index 5f8f52af..75d314fa 100755 --- a/extras/spark-store +++ b/extras/spark-store @@ -17,6 +17,12 @@ if [ "$IS_ACE_ENV" = "1" ]; then ARGS="$ARGS --no-apm" fi +# 检查是否存在 dpkg 指令 +if ! command -v dpkg >/dev/null 2>&1; then + echo "未检测到 dpkg 指令" + ARGS="$ARGS --no-spark" +fi + # 注意:已移除原先针对 arm64 + wayland 添加 --disable-gpu 的逻辑, # 现在 arm64 设备无论是否使用 wayland 均不再添加此参数。 diff --git a/icons/amber-pm-logo.png b/icons/amber-pm-logo.png new file mode 100644 index 00000000..812b1c96 Binary files /dev/null and b/icons/amber-pm-logo.png differ diff --git a/src/App.vue b/src/App.vue index 0c4acf1c..019b9236 100644 --- a/src/App.vue +++ b/src/App.vue @@ -51,6 +51,7 @@ :lists="homeLists" :loading="homeLoading" :error="homeError" + :store-filter="storeFilter" @open-detail="openDetail" /> @@ -378,6 +379,7 @@ const toggleTheme = () => { const selectCategory = (category: string) => { activeCategory.value = category; isSidebarOpen.value = false; + window.scrollTo({ top: 0, behavior: "smooth" }); if ( category === "home" && homeLinks.value.length === 0 && diff --git a/src/components/AppDetailModal.vue b/src/components/AppDetailModal.vue index 5ac40859..8483936e 100644 --- a/src/components/AppDetailModal.vue +++ b/src/components/AppDetailModal.vue @@ -14,40 +14,69 @@ @click.self="closeModal" >