1.0.8.1 支持银河麒麟

This commit is contained in:
2025-10-26 00:36:27 +08:00
parent efa5204b53
commit 9708cd7034
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
#!/bin/bash
if [[ ! -e "/usr/share/gxde-api" ]];then
exit 0 # No needed
if [[ ! -e "/usr/share/gxde-api" ]] && ! grep -q "Kylin" /etc/os-release; then
exit 0 # No needed
fi
# 函数:检查目录并创建符号链接
@@ -27,4 +27,4 @@ process_directory "/var/lib/apm/apm/files/ace-env/amber-ce-tools/data-dir/icons/
"/usr/local/share/icons/" "Icons"
# 等待所有后台任务完成
wait
wait