Skip to content

Commit

Permalink
Strip architecture suffix from Windows app exe
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusPettersson98 committed Dec 13, 2024
1 parent ee7681e commit c0dd2b3
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/desktop-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,14 @@ jobs:
vs-version: 16
- name: Build app
shell: bash
run: ./build.sh
run: |
./build.sh
# Strip architecture-specific suffix
pushd dist
original_file=$(find *.exe)
new_file=$(echo $original_file | perl -pe "s/^(MullvadVPN-.*?)(_x64|_arm64)?(\.exe)$/\1\3/p")
mv "$original_file" "$new_file"
popd
- name: Build test executable
shell: bash
run: ./desktop/packages/mullvad-vpn/scripts/build-test-executable.sh
Expand Down

0 comments on commit c0dd2b3

Please sign in to comment.