From 4653dabd7bc8afc30975d0838417a785b771bb40 Mon Sep 17 00:00:00 2001 From: shenmo Date: Fri, 14 Nov 2025 03:35:39 +0000 Subject: [PATCH] update src/usr/bin/amber-pm-convert. Signed-off-by: shenmo --- src/usr/bin/amber-pm-convert | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/usr/bin/amber-pm-convert b/src/usr/bin/amber-pm-convert index 0eabbdc..904166e 100755 --- a/src/usr/bin/amber-pm-convert +++ b/src/usr/bin/amber-pm-convert @@ -370,7 +370,7 @@ interactive_copy_entries() { # 复制所有桌面文件 for file in "${desktop_files[@]}"; do local rel_path="${file#$core_dir}" - local dest_path="$entries_dir$rel_path" + local dest_path="$entries_dir/applications" mkdir -p "$(dirname "$dest_path")" cp -v "$file" "$dest_path" @@ -431,7 +431,7 @@ interactive_copy_entries() { # 复制所有图标文件 for file in "${icon_files[@]}"; do local rel_path="${file#$core_dir}" - local dest_path="$entries_dir$rel_path" + local dest_path="$entries_dir/icons/" mkdir -p "$(dirname "$dest_path")" cp -v "$file" "$dest_path" done