Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2025-02-17 10:38:04 +00:00
parent 8b515d0478
commit 4b80d90f04
No known key found for this signature in database
GPG Key ID: A2B008A5F49F5D0D

View File

@ -86,24 +86,29 @@ jobs:
- name: Windows (x86) Squirrel
os: windows-2022
artifact: win-ia32
executable: "$LOCALAPPDATA/element-desktop*/Element.exe"
prepare_cmd: '. "./dist/squirrel-windows*/Element Setup*.exe"; Start-Sleep -Seconds 15'
executable: "$LOCALAPPDATA/element-desktop/Element.exe"
prepare_cmd: '. "./dist/squirrel-windows*/Element Setup*.exe"; Start-Sleep -Seconds 30'
- name: Windows (x86) MSI
os: windows-2022
artifact: win-ia32
executable: "C:/Program File*/Elemen*/Element.exe"
# executable: "C:/Program Files (x86)/Element*/Element*.exe"
prepare_cmd: 'Start-Process msiexec "/i ./dist/Element*.msi /qn"'
executable: "C:/Program Files (x86)/Element/Element.exe"
prepare_cmd: |
$file = Get-Item ./dist/*.msi | Select -First 1 -ExpandProperty FullName
$procMain = Start-Process "msiexec" "/i `"$file`" /qn /l*! `"$log`"" -NoNewWindow -PassThru
$procMain.WaitForExit()
- name: Windows (x64) Squirrel
os: windows-2022
artifact: win-x64
executable: "$LOCALAPPDATA/element-desktop*/Element.exe"
prepare_cmd: '. "./dist/squirrel-windows*/Element Setup*.exe"; Wait-Process -Name Setup'
executable: "$LOCALAPPDATA/element-desktop/Element.exe"
prepare_cmd: '. "./dist/squirrel-windows*/Element Setup*.exe"; Wait-Process -Name setup'
- name: Windows (x64) MSI
os: windows-2022
artifact: win-x64
executable: "C:/Program File*/Elemen*/Element.exe"
prepare_cmd: 'Start-Process msiexec "/i ./dist/Element*.msi /qn"'
executable: "C:/Program Files/Element/Element.exe"
prepare_cmd: |
$file = Get-Item ./dist/*.msi | Select -First 1 -ExpandProperty FullName
$procMain = Start-Process "msiexec" "/i `"$file`" /qn /l*! `"$log`"" -NoNewWindow -PassThru
$procMain.WaitForExit()
name: Test ${{ matrix.name }}
runs-on: ${{ matrix.os }}
steps: