mirror of
https://github.com/ckamte/adobe-packager-windows.git
synced 2026-11-14 17:47:21 -05:00
update Driver.xml for AME
This commit is contained in:
13
ccdl-win.py
13
ccdl-win.py
@@ -1022,11 +1022,14 @@ def write_driver_xml(pkgJson: dict, pkgDir: str) -> None:
|
|||||||
productInfo.append(child)
|
productInfo.append(child)
|
||||||
|
|
||||||
langRoot = ET.SubElement(productInfo, "SupportedLanguages")
|
langRoot = ET.SubElement(productInfo, "SupportedLanguages")
|
||||||
for lg in pkgJson["SupportedLanguages"]["Language"]:
|
|
||||||
for key, val in dict({"Language": ""}).items():
|
availLoc = pkgJson["SupportedLanguages"]["Language"]
|
||||||
child = ET.Element(key)
|
if availLoc[0]["locale"] != "mul":
|
||||||
child.set("locale", lg["locale"])
|
for lg in availLoc:
|
||||||
langRoot.append(child)
|
for key, val in dict({"Language": ""}).items():
|
||||||
|
child = ET.Element(key)
|
||||||
|
child.set("locale", lg["locale"])
|
||||||
|
langRoot.append(child)
|
||||||
|
|
||||||
# suppress error on dep package download
|
# suppress error on dep package download
|
||||||
if "MinimumSupportedClientVersion" in pkgJson and "HDBuilderVersion" in pkgJson:
|
if "MinimumSupportedClientVersion" in pkgJson and "HDBuilderVersion" in pkgJson:
|
||||||
|
|||||||
Reference in New Issue
Block a user