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:
co-authored by
Claude Opus 5
parent
7e82a294fa
commit
f52efd73c6
@@ -93,10 +93,10 @@ if (-not $Remove -and -not (Find-Chrome)) {
|
||||
# Google's own enterprise MSI, which installs machine-wide and silently. We
|
||||
# are already elevated by this point, so this needs no second prompt.
|
||||
$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
|
||||
# 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
|
||||
# like a stalled download.
|
||||
$previousProgress = $ProgressPreference
|
||||
|
||||
@@ -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."
|
||||
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)
|
||||
curl -fsSL -o "$DEB" https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
|
||||
|| fail "could not download Chrome"
|
||||
|
||||
Reference in New Issue
Block a user