Skip to content
Snippets Groups Projects
Commit 252d84e0 authored by Bob Mottram's avatar Bob Mottram
Browse files

Icons path

parent b40fe71f
No related branches found
No related tags found
No related merge requests found
......@@ -77,9 +77,7 @@ function web_create_homepage {
if [ ! $app_being_removed ]; then
# get the icon for the app
icon_filename="/usr/share/${PROJECT_NAME}/android-app/${app_name}.png"
if [ -f "$icon_filename" ]; then
cp "$icon_filename" "$homepage_install_dir/icons/${app_name}.png"
else
if [ ! -f "$icon_filename" ]; then
icon_filename=
fi
......@@ -142,7 +140,7 @@ function web_create_homepage {
{ echo ' <div class="column">';
echo ' <div>';
echo " <a href=\"$domain_name\" title=\"${app_title}\">";
echo " <img src=\"icons/${app_name}.png\" style=\"width:100%\">";
echo " <img src=\"../admin/icons/${app_name}.png\" style=\"width:100%\">";
echo " <center>${app_name}</center>";
echo ' </a>';
echo ' </div>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment