forked from 1b-agent/opencadstudio-upstream
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 <[email protected]>
This commit is contained in:
1 parent
4a1a658d07
commit
3bafe45ab3
3 files changed
+685
No files matched your search
@@ -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" }
|
||||
|
||||
Reference in new issue
Block a user