From bf10a437bc78649eecba53b71c8362911a4409d3 Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Thu, 5 Sep 2024 09:08:38 -0400 Subject: [PATCH] build: fix telemetry error when using autoninja (#43574) Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: John Kleinschmidt --- appveyor-woa.yml | 2 ++ appveyor.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/appveyor-woa.yml b/appveyor-woa.yml index 39c61f327f9b..1c630ba05924 100644 --- a/appveyor-woa.yml +++ b/appveyor-woa.yml @@ -95,6 +95,8 @@ for: - git clone --depth=1 https://chromium.googlesource.com/chromium/tools/depot_tools.git - ps: New-Item -Name depot_tools\.disable_auto_update -ItemType File - depot_tools\bootstrap\win_tools.bat + - ps: | + Set-Content -Path $pwd\depot_tools\build_telemetry.cfg -Value '{"user": "info@electronjs.org", "status": "opt-out", "countdown": 10, "version": 1}' - ps: $env:PATH="$pwd\depot_tools;$env:PATH" - ps: >- if (Test-Path -Path "$pwd\src\electron") { diff --git a/appveyor.yml b/appveyor.yml index d92636c3605a..9fcf286b218f 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -93,6 +93,8 @@ for: - git clone --depth=1 https://chromium.googlesource.com/chromium/tools/depot_tools.git - ps: New-Item -Name depot_tools\.disable_auto_update -ItemType File - depot_tools\bootstrap\win_tools.bat + - ps: | + Set-Content -Path $pwd\depot_tools\build_telemetry.cfg -Value '{"user": "info@electronjs.org", "status": "opt-out", "countdown": 10, "version": 1}' - ps: $env:PATH="$pwd\depot_tools;$env:PATH" - ps: >- if (Test-Path -Path "$pwd\src\electron") {