diff --git a/Makefile b/Makefile index 735b202..c0e79a0 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ SPK_NAME = rr-manager SPK_VERS = 2.0 -SPK_REV = 35 +SPK_REV = 36 SPK_ICON = src/rr-manager.png DSM_UI_DIR = app @@ -81,6 +81,7 @@ rr-manager_extra_install: install -m 644 src/app/rr-manager.js $(STAGING_DIR)/app/rr-manager.js install -m 644 src/app/rr-manager.widget.js $(STAGING_DIR)/app/rr-manager.widget.js install -m 644 src/app/helptoc.conf $(STAGING_DIR)/app/helptoc.conf + install -m 644 src/app/index.conf $(STAGING_DIR)/app/index.conf install -m 755 -d $(STAGING_DIR)/app/help for language in enu fre; do \ install -m 755 -d $(STAGING_DIR)/app/help/$${language}; \ diff --git a/src/app/helptoc.conf b/src/app/helptoc.conf index 5849534..11824df 100644 --- a/src/app/helptoc.conf +++ b/src/app/helptoc.conf @@ -1,6 +1,14 @@ { "app": "SYNOCOMMUNITY.RRManager.AppInstance", - "title": "app:index_title", - "content": "simpleapp_index.html", - "toc": [] + "title": "app:app_name", + "content": "simpleapp_index.html", + "helpset":"help", + "stringset":"texts", + "toc": [ + { + "title": "app:app_name", + "content": "simpleapp_index.html" + "nodes":[] + } + ] } diff --git a/src/app/index.conf b/src/app/index.conf new file mode 100644 index 0000000..49723d4 --- /dev/null +++ b/src/app/index.conf @@ -0,0 +1,10 @@ +{ + "app": "SYNOCOMMUNITY.RRManager.AppInstance", + "title": "app:app_name", + "desc": "app:description", + "stringset": "texts", + "keywords": [ + "rr", + "RR Manager", + ] +} \ No newline at end of file diff --git a/src/service-setup.sh b/src/service-setup.sh index 284dff7..6f8d519 100644 --- a/src/service-setup.sh +++ b/src/service-setup.sh @@ -27,6 +27,12 @@ service_postinst () -e "s|@this_is_sharename@|${wizard_download_share}|g" \ "${SYNOPKG_PKGDEST}/app/config.txt" fi + + # shellcheck disable=SC2129 + echo "Install Help files" + pkgindexer_add "${SYNOPKG_PKGDEST}/app/index.conf" + pkgindexer_add "${SYNOPKG_PKGDEST}/app/helptoc.conf" + exit 0 }