Skip to content

Commit 8f94978

Browse files
authored
fix: missing html extension for multi language license files in nsis target (#7339)
1 parent 973a004 commit 8f94978

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/plenty-spoons-prove.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"app-builder-lib": patch
3+
---
4+
5+
fix: add missing html extension for multi language license files in nsis target

packages/app-builder-lib/src/util/license.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export async function getLicenseFiles(packager: PlatformPackager<any>): Promise<
4545
return getLicenseAssets(
4646
(await packager.resourceList).filter(it => {
4747
const name = it.toLowerCase()
48-
return (name.startsWith("license_") || name.startsWith("eula_")) && (name.endsWith(".rtf") || name.endsWith(".txt"))
48+
return (name.startsWith("license_") || name.startsWith("eula_")) && (name.endsWith(".rtf") || name.endsWith(".txt") || name.endsWith(".html"))
4949
}),
5050
packager
5151
)

0 commit comments

Comments
 (0)