mirror of
https://gitee.com/amber-ce/amber-ce-bookworm.git
synced 2025-06-13 10:35:58 +08:00
update ace-host-integration.
Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
parent
c976b58920
commit
903788732c
@ -49,8 +49,8 @@ local file=$1
|
||||
echo "$file is detected. Processing host system integration..."
|
||||
sed -i 's|^Exec=\(.*\)|Exec=bookworm-run \1|' "$file"
|
||||
sed -i '/^TryExec=/d' "$file"
|
||||
sed -i '/^Name=/ s/$/ (ACE-Integration)/' "$file"
|
||||
sed -i "/^Name\[${LANGUAGE}\]=/ s/\$/ (ACE-Integration)/" "$file"
|
||||
sed -i '/^Name=/ s/$/ (ACE)/' "$file"
|
||||
sed -i "/^Name\[${LANGUAGE}\]=/ s/\$/ (ACE)/" "$file"
|
||||
icon_line=$(grep "^Icon=" "$file")
|
||||
if [[ "$icon_line" == "Icon=/"* ]]; then
|
||||
# 如果Icon=后面接的是/,则添加前缀
|
||||
|
Loading…
x
Reference in New Issue
Block a user