mirror of
https://github.com/ckamte/adobe-packager-windows.git
synced 2026-11-09 15:17:20 -05:00
Update driver.xml for ame 26 (for multi languages)
This commit is contained in:
@@ -1050,13 +1050,14 @@ def write_driver_xml(pkgJson: dict, pkgDir: str, reqLang: list[str]) -> None:
|
||||
|
||||
langRoot = ET.SubElement(productInfo, "SupportedLanguages")
|
||||
|
||||
# for mul only apps (AME, etc)
|
||||
availLoc = pkgJson["SupportedLanguages"]["Language"]
|
||||
if availLoc[0]["locale"] != "mul":
|
||||
xml_langs_list(langRoot, availLoc)
|
||||
|
||||
elif reqLang[0] != "mul":
|
||||
if reqLang[0] not in ["mul", "all"]:
|
||||
xml_langs_list(langRoot, reqLang)
|
||||
|
||||
elif availLoc[0]["locale"] != "mul":
|
||||
xml_langs_list(langRoot, availLoc)
|
||||
|
||||
# suppress error on dep package download
|
||||
if "MinimumSupportedClientVersion" in pkgJson and "HDBuilderVersion" in pkgJson:
|
||||
for key, val in dict(
|
||||
|
||||
Reference in New Issue
Block a user