mirror of
https://gitee.com/amber-ce/amber-pm
synced 2025-12-19 03:41:37 +08:00
update src/usr/bin/amber-pm-convert.
Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
@@ -370,7 +370,7 @@ interactive_copy_entries() {
|
|||||||
# 复制所有桌面文件
|
# 复制所有桌面文件
|
||||||
for file in "${desktop_files[@]}"; do
|
for file in "${desktop_files[@]}"; do
|
||||||
local rel_path="${file#$core_dir}"
|
local rel_path="${file#$core_dir}"
|
||||||
local dest_path="$entries_dir$rel_path"
|
local dest_path="$entries_dir/applications"
|
||||||
mkdir -p "$(dirname "$dest_path")"
|
mkdir -p "$(dirname "$dest_path")"
|
||||||
cp -v "$file" "$dest_path"
|
cp -v "$file" "$dest_path"
|
||||||
|
|
||||||
@@ -431,7 +431,7 @@ interactive_copy_entries() {
|
|||||||
# 复制所有图标文件
|
# 复制所有图标文件
|
||||||
for file in "${icon_files[@]}"; do
|
for file in "${icon_files[@]}"; do
|
||||||
local rel_path="${file#$core_dir}"
|
local rel_path="${file#$core_dir}"
|
||||||
local dest_path="$entries_dir$rel_path"
|
local dest_path="$entries_dir/icons/"
|
||||||
mkdir -p "$(dirname "$dest_path")"
|
mkdir -p "$(dirname "$dest_path")"
|
||||||
cp -v "$file" "$dest_path"
|
cp -v "$file" "$dest_path"
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user