forked from CringeStudios/element-desktop
Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
21084af22f
commit
360bda6d4f
15
.github/workflows/build_and_test.yaml
vendored
15
.github/workflows/build_and_test.yaml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user