From 97f49201b79fd7d79a87808b9be3f3bf52bbe303 Mon Sep 17 00:00:00 2001 From: Melorise <0d00@0721.hk> Date: Wed, 20 May 2026 10:22:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=AF=B9aosc=20os=E7=9A=84?= =?UTF-8?q?=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extras/spark-store | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/extras/spark-store b/extras/spark-store index 287dce71..7cf589e2 100755 --- a/extras/spark-store +++ b/extras/spark-store @@ -23,6 +23,12 @@ if ! command -v apt >/dev/null 2>&1; then ARGS="$ARGS --no-spark" fi +# 检查是否是AOSC OS +if grep -q "ID=aosc" /etc/os-release; then + echo "检测到 AOSC OS" + ARGS="$ARGS --no-spark" +fi + # 注意:已移除原先针对 arm64 + wayland 添加 --disable-gpu 的逻辑, # 现在 arm64 设备无论是否使用 wayland 均不再添加此参数。