From 35799484071ec5b70419d1a94d4cfcf8255be72c Mon Sep 17 00:00:00 2001 From: Yannik Schmidt Date: Thu, 17 Apr 2025 11:58:44 +0200 Subject: [PATCH] fix: copy helper scripts instead of fixed --- .github/workflows/release.yaml | 9 ++++++++- dist/{client => }/run.bat | 0 dist/{client => }/run.ps1 | 0 3 files changed, 8 insertions(+), 1 deletion(-) rename dist/{client => }/run.bat (100%) rename dist/{client => }/run.ps1 (100%) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ab033ee..2c193ea 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -27,10 +27,17 @@ jobs: - name: Build EXE run: pyinstaller client.py + - name: Copy helper scripts + run: | + cp .\dist\run.bat .\dist\client\ + cp .\dist\run.ps1 .\dist\client\ + cp .\windows_run_as_admin.ps1 .\dist\client\ + - name: Archive EXE run: Compress-Archive -Path dist\ -DestinationPath release.zip - name: Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: gh release create ${{ github.ref_name }} "release.zip" --generate-notes --title "release-${{ github.ref_name }}" \ No newline at end of file + run: gh release create ${{ github.ref_name }} "release.zip" --generate-notes --title "release-${{ github.ref_name }}" + diff --git a/dist/client/run.bat b/dist/run.bat similarity index 100% rename from dist/client/run.bat rename to dist/run.bat diff --git a/dist/client/run.ps1 b/dist/run.ps1 similarity index 100% rename from dist/client/run.ps1 rename to dist/run.ps1