Skip to content

Commit

Permalink
fix: missing html extension for multi language license files in nsis …
Browse files Browse the repository at this point in the history
…target (#7339)
  • Loading branch information
zanzara authored Jan 3, 2023
1 parent 973a004 commit 8f94978
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/plenty-spoons-prove.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"app-builder-lib": patch
---

fix: add missing html extension for multi language license files in nsis target
2 changes: 1 addition & 1 deletion packages/app-builder-lib/src/util/license.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export async function getLicenseFiles(packager: PlatformPackager<any>): 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
)
Expand Down

0 comments on commit 8f94978

Please sign in to comment.