From 8876f4b1501394a5d5c2eb2f631b7913e59f11ea Mon Sep 17 00:00:00 2001 From: DSR! Date: Mon, 18 Mar 2024 15:57:13 -0300 Subject: [PATCH] Update builder.yml --- .github/workflows/builder.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index d6291dd..5217aaf 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -15,6 +15,15 @@ jobs: - name: Install Python packages run: pip install py7zr pefile colorama + - name: Update .iss config paths + working-directory: ./src/bin/installer + shell: pwsh + run: | + $content = Get-Content -Path setup.iss -Raw + $content = $content -replace '#define MySrcDir "C:\\\\code\\\\toolkit"', '#define MySrcDir "' + "${{ github.workspace }}/src" + '"' + $content = $content -replace '#define MyOutputDir "C:\\\\code"', '#define MyOutputDir "' + "${{ github.workspace }}" + '"' + Set-Content -Path setup.iss -Value $content + - name: Prepare directory working-directory: ./src/bin/installer run: python generate-sections.py -f ${{ github.workspace }}/src/toolkit -o ${{ github.workspace }}/src/bin/installer/full