From 73d480d40171b101e37ad04d7195893f01c72052 Mon Sep 17 00:00:00 2001 From: John Kleinschmidt Date: Thu, 5 Sep 2024 04:08:27 -0400 Subject: [PATCH] build: fix telemetry error when using autoninja (#43563) --- 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") {