From 6109016ab739d73366b56b12147a7cf503569dcd Mon Sep 17 00:00:00 2001 From: Markus Pettersson Date: Fri, 13 Dec 2024 16:43:43 +0100 Subject: [PATCH] TODO(Drop) Strip architecture suffix from Windows app exe --- .github/workflows/desktop-e2e.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/desktop-e2e.yml b/.github/workflows/desktop-e2e.yml index 96acdc3c7e35..fbcb31817ad8 100644 --- a/.github/workflows/desktop-e2e.yml +++ b/.github/workflows/desktop-e2e.yml @@ -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