From f1540e13eb96be2237b3460c5cb955ce64406eb3 Mon Sep 17 00:00:00 2001 From: Armin Schrenk Date: Wed, 29 Apr 2026 11:58:45 +0200 Subject: [PATCH] Also use new template properties file in CI --- .github/workflows/win-exe.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/win-exe.yml b/.github/workflows/win-exe.yml index f8cc0b1d0..d96fa1520 100644 --- a/.github/workflows/win-exe.yml +++ b/.github/workflows/win-exe.yml @@ -259,6 +259,16 @@ jobs: "-Dlicense.failOnMissing=true" "-Dlicense.licenseMergesUrl=file:///${{ github.workspace }}/license/merges" shell: pwsh + - name: Create file association file from template + working-directory: dist/win + run: | + $Env:JP_WIXWIZARD_RESOURCES_PROPERTIES_FORMAT = "${Env:JP_WIXWIZARD_RESOURCES}".Replace('\', '\\'); + Get-Content .\resources\FAvaultFile.template.properties ` + | ForEach-Object { $ExecutionContext.InvokeCommand.ExpandString($_) } ` + | Out-File -FilePath .\resources\FAvaultFile.properties + env: + JP_WIXWIZARD_RESOURCES: ${{ github.workspace }}/dist/win/resources/ # requires abs path, used in resources/main.wxs + shell: pwsh - name: Create MSI run: > ${JAVA_HOME}/bin/jpackage