From 5a808d4e5e21938b2cb5d595ca20ff6f2d953e8f Mon Sep 17 00:00:00 2001 From: "J.P" <70083705+stapmoshun@users.noreply.github.com> Date: Wed, 4 Sep 2024 02:31:02 -0400 Subject: [PATCH] fix launch4j --- .github/workflows/build.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cc952fa..d4c8bf4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,16 +26,11 @@ jobs: run: | choco install launch4j -y - - name: Find Launch4j Path and Run + - name: Run Launch4j run: | - launch4jPath=$(choco list --local-only launch4j | grep "launch4j" | awk '{print $3}') - echo "Launch4j installed version: $launch4jPath" - launch4jExecutable="C:\ProgramData\chocolatey\lib\launch4j.$launch4jPath\tools\launch4j.exe" - echo "Using Launch4j executable at: $launch4jExecutable" - $launch4jExecutable launch4j.xml + "C:\Program Files (x86)\Launch4j\launch4j.exe" launch4j.xml shell: bash - - name: Upload EXE artifact uses: actions/upload-artifact@v2 with: