[desktop] open help center if there are no app help

This commit is contained in:
Maxim Kadushkin
2022-09-23 11:12:34 +03:00
parent 26efff7397
commit 1a769c6b9a
4 changed files with 18 additions and 2 deletions

View File

@ -67,6 +67,9 @@ module.exports = function(grunt) {
}, {
from: /\{\{HELP_URL\}\}/g,
to: _encode(process.env.HELP_URL) || 'https://helpcenter.onlyoffice.com'
}, {
from: /\{\{HELP_CENTER_WEB_EDITORS\}\}/g,
to: _encode(process.env.HELP_CENTER_WEB_EDITORS) || 'https://helpcenter.onlyoffice.com/userguides/docs-index.aspx'
}, {
from: /\{\{DEFAULT_LANG\}\}/g,
to: _encode(process.env.DEFAULT_LANG) || 'en'