mirror of
https://github.com/ONLYOFFICE/build_tools.git
synced 2026-04-07 14:06:31 +08:00
Add dictiories path to doctrenderer.config
This commit is contained in:
@ -787,7 +787,7 @@ def app_make():
|
||||
return "make"
|
||||
|
||||
# doctrenderer.config
|
||||
def generate_doctrenderer_config(path, root, product, vendor = ""):
|
||||
def generate_doctrenderer_config(path, root, product, vendor = "", dictionaries = ""):
|
||||
content = "<Settings>\n"
|
||||
|
||||
content += ("<file>" + root + "sdkjs/common/Native/native.js</file>\n")
|
||||
@ -806,6 +806,9 @@ def generate_doctrenderer_config(path, root, product, vendor = ""):
|
||||
content += ("<file>" + vendor_dir + "xregexp/xregexp-all-min.js</file>\n")
|
||||
content += ("<sdkjs>" + root + "sdkjs</sdkjs>\n")
|
||||
|
||||
if ("" != dictionaries):
|
||||
content += ("<dictionaries>" + dictionaries + "</dictionaries>")
|
||||
|
||||
if (False): # old html file
|
||||
content += ("<htmlfile>" + vendor_dir + "jquery/jquery.min.js</htmlfile>\n")
|
||||
if ("desktop" == product):
|
||||
|
||||
Reference in New Issue
Block a user