From 9c8370bf0a1c93f4506d8afa60a26c2c62b91586 Mon Sep 17 00:00:00 2001 From: Sangyoon Jang Date: Wed, 11 Jan 2017 11:23:31 +0900 Subject: [PATCH] Fix StepWgtPatchIcons Set package's icon as same as app's icon. We don't need icon file named as pkgid. Change-Id: I11ed3246c7b1db29b29f357491beb4a67ebfb585 Signed-off-by: Sangyoon Jang --- src/wgt/step/filesystem/step_wgt_patch_icons.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wgt/step/filesystem/step_wgt_patch_icons.cc b/src/wgt/step/filesystem/step_wgt_patch_icons.cc index 1a5b3cb..9eaa321 100644 --- a/src/wgt/step/filesystem/step_wgt_patch_icons.cc +++ b/src/wgt/step/filesystem/step_wgt_patch_icons.cc @@ -55,7 +55,8 @@ common_installer::Step::Status StepWgtPatchIcons::process() { bf::create_directories(common_icon_location, error); for (icon_x* icon : GListRange(context_->manifest_data.get()->icon)) { - bf::path icon_path = common_icon_location / context_->pkgid.get(); + bf::path icon_path = common_icon_location / + context_->manifest_data.get()->mainapp_id; if (!PatchIcon(icon, icon_path)) return Status::ICON_ERROR; } -- 2.7.4