fix(wix): show GPL-3 license on installer EULA page
WixUI_Minimal fell back to WiX's built-in placeholder (Lorem ipsum) RTF because no WixUILicenseRtf was set. Ship License.rtf generated from the repo GPL-3 LICENSE and point the variable at it via a new -dLicense candle arg. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
4a1a658d07
commit
3bafe45ab3
3 changed files with 685 additions and 0 deletions
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
|
|
@ -128,6 +128,8 @@ jobs:
|
|||
# filename.
|
||||
$exePath = (Resolve-Path target\release\OpenCADStudio.exe).Path
|
||||
$iconPath = (Resolve-Path packaging\windows\AppIcon.ico).Path
|
||||
# GPL-3 license RTF shown on the installer's EULA page.
|
||||
$licensePath = (Resolve-Path packaging\windows\License.rtf).Path
|
||||
# main.wxs holds the package/feature; ui.wxs holds the installer UI
|
||||
# and finish-screen launch checkbox. Both compile together.
|
||||
$mainWxs = (Resolve-Path packaging\windows\main.wxs).Path
|
||||
|
|
@ -140,6 +142,7 @@ jobs:
|
|||
"-dVersion=$version" `
|
||||
"-dSource=$exePath" `
|
||||
"-dIcon=$iconPath" `
|
||||
"-dLicense=$licensePath" `
|
||||
$mainWxs $uiWxs `
|
||||
-out $objDir
|
||||
if ($LASTEXITCODE -ne 0) { throw "candle failed" }
|
||||
|
|
|
|||
Loading…
Reference in a new issue