From 360bda6d4fb85565037b6c10e22c8258bb7c6b28 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 17 Feb 2025 11:21:01 +0000 Subject: [PATCH] Iterate Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- .github/workflows/build_and_test.yaml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build_and_test.yaml b/.github/workflows/build_and_test.yaml index d234dbf7..2bb0a740 100644 --- a/.github/workflows/build_and_test.yaml +++ b/.github/workflows/build_and_test.yaml @@ -86,7 +86,7 @@ jobs: - name: Windows (x86) Squirrel os: windows-2022 artifact: win-ia32 - executable: "$LOCALAPPDATA/element-desktop/app-*/Element.exe" + executable: "$LOCALAPPDATA/element-desktop/app-1.11.92/Element.exe" prepare_cmd: | . "./dist/squirrel-windows*/Element Setup*.exe" Start-Sleep -Seconds 30 @@ -100,7 +100,7 @@ jobs: - name: Windows (x64) Squirrel os: windows-2022 artifact: win-x64 - executable: "$LOCALAPPDATA/element-desktop/app-*/Element.exe" + executable: "$LOCALAPPDATA/element-desktop/app-1.11.92/Element.exe" prepare_cmd: | . "./dist/squirrel-windows*/Element Setup*.exe" Start-Sleep -Seconds 30 @@ -136,17 +136,8 @@ jobs: # We previously disabled the `EnableNodeCliInspectArguments` fuse, but Playwright requires # it to be enabled to test Electron apps, so turn it back on. - name: Set EnableNodeCliInspectArguments fuse enabled - run: $RUN_AS npx @electron/fuses write --app "${{ matrix.executable }}" EnableNodeCliInspectArguments=on + run: sudo npx @electron/fuses write --app "${{ matrix.executable }}" EnableNodeCliInspectArguments=on shell: bash - env: - # We need sudo on Linux as it is installed in /opt/ - RUN_AS: ${{ runner.os == 'Linux' && 'sudo' || '' }} - - - name: Workaround macOS GHA permission issues - if: runner.os == 'macOS' - run: | - sqlite3 $HOME/Library/Application\ Support/com.apple.TCC/TCC.db "INSERT OR IGNORE INTO access VALUES ('kTCCServiceMicrophone','/usr/local/opt/runner/provisioner/provisioner',1,2,4,1,NULL,NULL,0,'UNUSED',NULL,0,1687786159,NULL,NULL,'UNUSED',1687786159);" - sqlite3 $HOME/Library/Application\ Support/com.apple.TCC/TCC.db "INSERT OR IGNORE INTO access VALUES ('kTCCServiceMicrophone','/opt/off/opt/runner/provisioner/provisioner',1,2,4,1,NULL,NULL,0,'UNUSED',NULL,0,1687786159,NULL,NULL,'UNUSED',1687786159);" - name: Run tests uses: coactions/setup-xvfb@6b00cf1889f4e1d5a48635647013c0508128ee1a