Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
2025-03-03 13:50:01 +00:00
committed by Gitee
parent ab64e78fa5
commit 6ee00a33b2
2 changed files with 3 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ local file=$1
icon_line=$(grep "^Icon=" "$file")
if [[ "$icon_line" == "Icon=/"* ]]; then
# 如果Icon=后面接的是/,则添加前缀
sed -i 's|^Icon=/|Icon=/opt/apps/amber-ce-bookworm/files/bookworm-env/|' "$file"
sed -i 's|^Icon=/|Icon=/opt/apps/amber-ce-bookworm/files/ace-env/|' "$file"
fi
fi