diff --git a/.changeset/plenty-spoons-prove.md b/.changeset/plenty-spoons-prove.md new file mode 100644 index 00000000000..7fb84cef502 --- /dev/null +++ b/.changeset/plenty-spoons-prove.md @@ -0,0 +1,5 @@ +--- +"app-builder-lib": patch +--- + +fix: add missing html extension for multi language license files in nsis target diff --git a/packages/app-builder-lib/src/util/license.ts b/packages/app-builder-lib/src/util/license.ts index 15e60d1151e..cd8981df661 100644 --- a/packages/app-builder-lib/src/util/license.ts +++ b/packages/app-builder-lib/src/util/license.ts @@ -45,7 +45,7 @@ export async function getLicenseFiles(packager: PlatformPackager): Promise< return getLicenseAssets( (await packager.resourceList).filter(it => { const name = it.toLowerCase() - return (name.startsWith("license_") || name.startsWith("eula_")) && (name.endsWith(".rtf") || name.endsWith(".txt")) + return (name.startsWith("license_") || name.startsWith("eula_")) && (name.endsWith(".rtf") || name.endsWith(".txt") || name.endsWith(".html")) }), packager )