Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
21b5184
Publish: develop 62efbae to release
github-actions[bot] Nov 10, 2026
3ac8170
Publish: develop 211fdef to release
github-actions[bot] Nov 12, 2026
71d517a
Publish: develop 3f547a2 to release
github-actions[bot] Nov 14, 2026
e58d2e3
Publish: develop c4bcaa9 to release
github-actions[bot] Nov 14, 2026
5cbde79
Publish: develop 540e5b4 to release
github-actions[bot] Nov 14, 2026
6a3bc07
Publish: develop 536e0b2 to release
github-actions[bot] Nov 14, 2026
9bb350d
Publish: develop ae7b049 to release
github-actions[bot] Nov 14, 2026
220ddb4
Publish: develop 25eb578 to release
github-actions[bot] Nov 14, 2026
b6f6477
Publish: develop 973d065 to release
github-actions[bot] Nov 14, 2026
909bfd1
Publish: develop c6a328e to release
github-actions[bot] Nov 14, 2026
d1a737c
Publish: develop 2a9fcd7 to release
github-actions[bot] Nov 14, 2026
9ee4b67
Publish: develop e46e9a2 to release
github-actions[bot] Nov 14, 2026
bd64421
Publish: develop aaca078 to release
github-actions[bot] Nov 22, 2026
48999e2
Publish: develop b297ec3 to release
github-actions[bot] Nov 22, 2026
51b1e20
Publish: develop 692efb2 to release
github-actions[bot] Nov 22, 2026
1a20f56
Publish: develop 7aaed30 to release
github-actions[bot] Nov 22, 2026
0bacb13
Publish: develop b70bd7f to release
github-actions[bot] Nov 22, 2026
0c050e7
Publish: develop 9b3c24d to release
github-actions[bot] Nov 22, 2026
2caab40
Publish: develop 62d918d to release
github-actions[bot] Nov 22, 2026
c69f2fb
Publish: develop 1c7f193 to release
github-actions[bot] Nov 22, 2026
b7a7240
Publish: develop 630540a to release
github-actions[bot] Nov 22, 2026
e5f811f
Publish: develop fcdd01f to release
github-actions[bot] Nov 22, 2026
3b902d9
Publish: develop 4fcfd29 to release
github-actions[bot] Nov 22, 2026
6c73d3a
Publish: develop 4dcc35b to release
github-actions[bot] Nov 22, 2026
c7d0835
Publish: develop ec2fd00 to release
github-actions[bot] Nov 23, 2026
91a7860
Publish: develop 46f4b91 to release
github-actions[bot] Nov 23, 2026
93952d9
Publish: develop cef55e9 to release
github-actions[bot] Nov 23, 2026
82fecfd
Publish: develop c1866c9 to release
github-actions[bot] Nov 23, 2026
dff9477
Publish: develop c495799 to release
github-actions[bot] Nov 23, 2026
22375e4
Publish: develop 50c0017 to release
github-actions[bot] Nov 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 46 additions & 3 deletions .github/scripts/rows/fetch-browser.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,14 @@ function Resolve-Edge {
$url = switch ($Browser) {
'Google Chrome' { Resolve-Chrome }
'Microsoft Edge' { Resolve-Edge }
'Brave' {
# Brave's feed lists only new builds, but every release keeps its installer on GitHub under
# the tag of the version without its Chromium milestone, so an earlier build is found too.
if ($Download) { $Download } else {
$tag = 'v' + (($Version -split '\.', 2)[1])
"https://github.com/brave/brave-browser/releases/download/$tag/BraveBrowserStandaloneSilentSetup.exe"
}
}
default {
if (-not $Download) { throw "The feed names no installer for $Browser $Version yet." }
$Download
Expand All @@ -78,11 +86,46 @@ if ($Browser -eq 'Brave') {
# Brave publishes only update-client installers. Their payload is split into several branch
# streams that 7-Zip reads as one, so the files come out damaged. A runner is thrown away after
# the job and has no Brave of its own, so the silent installer installs this exact build.
$installed = Join-Path $env:ProgramFiles 'BraveSoftware\Brave-Browser\Application'
if (Test-Path $installed) { throw "This runner already has Brave at $installed, so the build would not be the one asked for." }
# The installer picks a machine or a user install by itself, and its update client may still be
# copying files after the setup process has exited, so every place is checked until the build's
# own version folder appears.
$places = @(
(Join-Path $env:ProgramFiles 'BraveSoftware\Brave-Browser\Application'),
(Join-Path ${env:ProgramFiles(x86)} 'BraveSoftware\Brave-Browser\Application'),
(Join-Path $env:LOCALAPPDATA 'BraveSoftware\Brave-Browser\Application')
)
foreach ($place in $places) {
if (Test-Path $place) { throw "This runner already has Brave at $place, so the build would not be the one asked for." }
}
$setup = Start-Process $package -Wait -PassThru
if ($setup.ExitCode -ne 0) { throw "Brave's installer exited with $($setup.ExitCode)" }
$unpacked = $installed
$installed = $null
$until = (Get-Date).AddMinutes(10)
while (-not $installed -and (Get-Date) -lt $until) {
$installed = $places | Where-Object {
(Test-Path (Join-Path $_ 'brave.exe')) -and (Test-Path (Join-Path $_ "$Version\chrome.dll"))
} | Select-Object -First 1
if (-not $installed) { Start-Sleep -Seconds 5 }
}
if (-not $installed) {
$seen = foreach ($root in $env:ProgramFiles, ${env:ProgramFiles(x86)}, $env:LOCALAPPDATA) {
Get-ChildItem (Join-Path $root 'BraveSoftware') -Recurse -Depth 3 -ErrorAction SilentlyContinue |
ForEach-Object FullName
}
throw "Brave's installer exited with 0, but no place holds brave.exe and $Version\chrome.dll after 10 minutes. Under BraveSoftware: $(@($seen) -join '; ')"
}
# The files are copied out and Brave is removed again, so a second build, such as the one
# before it, can be installed on the same runner.
$unpacked = Join-Path $Out 'files'
New-Item -ItemType Directory -Force $unpacked | Out-Null
Copy-Item $installed $unpacked -Recurse -Force
$remover = Join-Path $installed "$Version\Installer\setup.exe"
$level = if ($installed -like "$env:LOCALAPPDATA*") { @() } else { @('--system-level') }
if (Test-Path $remover) {
Start-Process $remover -ArgumentList (@('--uninstall', '--force-uninstall') + $level) -Wait | Out-Null
}
Remove-Item (Split-Path $installed -Parent) -Recurse -Force -ErrorAction SilentlyContinue
if (Test-Path $installed) { throw "Brave $Version could not be removed from $installed after its files were copied" }
} else {
7z x $package "-o$unpacked" -y | Out-Null
if ($LASTEXITCODE -ne 0) { throw "7-Zip could not unpack $url" }
Expand Down
29 changes: 0 additions & 29 deletions .github/scripts/rows/fetch-symbols.ps1

This file was deleted.

Loading