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