%{_unitdir}/multi-user.target.wants/krate.service
%attr(700,root,root) /etc/gumd/useradd.d/20_krate-add.post
%attr(700,root,root) /etc/gumd/userdel.d/20_krate-remove.post
+%attr(644,root,root) %{TZ_SYS_RO_ICONS}/krate/shortcut_icon.png
%attr(644,root,root) %{TZ_SYS_RO_ICONS}/krate/indicator_icon.png
%attr(644,root,root) %{TZ_SYS_RO_ICONS}/krate/notification_sub_icon.png
%attr(700,root,root) %dir %{TZ_SYS_ETC}/krate
INSTALL(FILES ${KRATE_DATA}/DefaultManifest.xml DESTINATION ${CONF_DIR} RENAME owner.xml)
INSTALL(FILES ${KRATE_DATA}/indicator_icon.png DESTINATION ${ICON_DIR})
INSTALL(FILES ${KRATE_DATA}/notification_sub_icon.png DESTINATION ${ICON_DIR})
+INSTALL(FILES ${KRATE_DATA}/shortcut_icon.png DESTINATION ${ICON_DIR})
TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${EFL_APP_LIBRARIES} ${KEYGUARD_LIBRARIES} krate)
+TARGET_COMPILE_DEFINITIONS(${PROJECT_NAME} PRIVATE
+ ICON_PATH="${ICON_DIR}"
+)
+
ADD_CUSTOM_TARGET(${PROJECT_NAME}.edj
COMMAND edje_cc -no-save -id ${CMAKE_CURRENT_SOURCE_DIR}/res/images
${CMAKE_CURRENT_SOURCE_DIR}/res/edje/${PROJECT_NAME}.edc
char uri[PATH_MAX];
snprintf(uri, sizeof(uri), "krate://enter/%s", krate_name);
- shortcut_add_to_home(krate_name, LAUNCH_BY_URI, uri, "", 0, NULL, NULL);
+ shortcut_add_to_home(krate_name, LAUNCH_BY_URI, uri, ICON_PATH "/shortcut_icon.png", 0, NULL, NULL);
}
static bool __app_create(void *data)