Correct the Chrome download sizes

The Windows enterprise MSI is 166 MB, not 120.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Brandon Li
2026-08-31 17:11:57 -05:00
co-authored by Claude Opus 5
parent 7e82a294fa
commit f52efd73c6
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -93,10 +93,10 @@ if (-not $Remove -and -not (Find-Chrome)) {
# Google's own enterprise MSI, which installs machine-wide and silently. We # Google's own enterprise MSI, which installs machine-wide and silently. We
# are already elevated by this point, so this needs no second prompt. # are already elevated by this point, so this needs no second prompt.
$msi = Join-Path $env:TEMP 'googlechromestandaloneenterprise64.msi' $msi = Join-Path $env:TEMP 'googlechromestandaloneenterprise64.msi'
Write-Host 'Google Chrome is not installed — downloading it from Google (about 120 MB).' Write-Host 'Google Chrome is not installed — downloading it from Google (about 160 MB).'
# Progress off for the duration. Windows PowerShell re-renders the progress # Progress off for the duration. Windows PowerShell re-renders the progress
# bar on every buffer, which on a 120 MB file costs far more time than the # bar on every buffer, which on a 160 MB file costs far more time than the
# transfer itself — minutes instead of seconds, looking for all the world # transfer itself — minutes instead of seconds, looking for all the world
# like a stalled download. # like a stalled download.
$previousProgress = $ProgressPreference $previousProgress = $ProgressPreference
+1 -1
View File
@@ -49,7 +49,7 @@ if ! command -v google-chrome >/dev/null 2>&1 && [ ! -x /opt/google/chrome/chrom
[ "$ARCH" = "x86_64" ] || fail "Google Chrome is not published for $ARCH. Chromium cannot be enrolled — this machine cannot run the extension." [ "$ARCH" = "x86_64" ] || fail "Google Chrome is not published for $ARCH. Chromium cannot be enrolled — this machine cannot run the extension."
command -v apt-get >/dev/null || fail "Chrome is missing and this is not an apt system — install Google Chrome, then re-run" command -v apt-get >/dev/null || fail "Chrome is missing and this is not an apt system — install Google Chrome, then re-run"
info "Google Chrome is not installed — fetching it from Google (about 120 MB)" info "Google Chrome is not installed — fetching it from Google (about 110 MB)"
DEB=$(mktemp --suffix=.deb) DEB=$(mktemp --suffix=.deb)
curl -fsSL -o "$DEB" https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \ curl -fsSL -o "$DEB" https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
|| fail "could not download Chrome" || fail "could not download Chrome"