From b79987560d5dbae2f0a53b37788fae03020fe857 Mon Sep 17 00:00:00 2001 From: mtkennerly Date: Wed, 10 Mar 2021 16:11:49 -0500 Subject: [PATCH] Fix issue with 32-bit Windows executable --- .github/workflows/main.yaml | 6 +++--- CHANGELOG.md | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index f1d28947..d47621a6 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -47,16 +47,16 @@ jobs: - uses: actions-rs/cargo@v1 with: command: build - args: --release + args: --release --target ${{ matrix.rust-target }} - if: ${{ matrix.os == 'windows-latest' }} run: | Invoke-WebRequest https://github.com/electron/rcedit/releases/download/v1.1.1/rcedit-x64.exe -O rcedit.exe - ./rcedit.exe target/release/${{ matrix.artifact-file }} --set-icon assets/icon.ico + ./rcedit.exe target/${{ matrix.rust-target }}/release/${{ matrix.artifact-file }} --set-icon assets/icon.ico shell: powershell - uses: actions/upload-artifact@v1 with: name: ludusavi-v${{ env.LUDUSAVI_VERSION }}-${{ matrix.artifact-name }} - path: target/release/${{ matrix.artifact-file }} + path: target/${{ matrix.rust-target }}/release/${{ matrix.artifact-file }} test: strategy: diff --git a/CHANGELOG.md b/CHANGELOG.md index 643537fc..e24c1688 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,8 @@ * GUI: Switched to OpenGL by default and upgraded to [Iced 0.2.0](https://crates.io/crates/iced). * GUI: Custom games are now more visually distinct from each other. * Fixed: + * The 32-bit Windows executable was not properly compatible with 32-bit + systems. * For Proton and Wine, Ludusavi now looks for multiple variations of a few folders: * `` checks `~/Documents` (in addition to `~/My Documents`). * `` checks `~/AppData/Roaming` (in addition to `~/Application Data`).