Added telemetry system to get information about issues.

This commit is contained in:
2026-09-07 21:49:37 +02:00
parent bea9d6fda7
commit f06fc2e4e3
16 changed files with 4125 additions and 169 deletions

View File

@@ -189,6 +189,7 @@ def configure_launcher_prefix(
[str(tools.wineboot), "-u"],
env_overrides={**environment, "WINEARCH": "win64"},
timeout_seconds=300.0,
telemetry_stage="prefix_create",
)
]
if force_runtime or not _dotnet_desktop_ready(paths, marker):
@@ -197,6 +198,7 @@ def configure_launcher_prefix(
[str(tools.winetricks), "-q", "dotnetdesktop6"],
env_overrides=environment,
timeout_seconds=1800.0,
telemetry_stage="runtime_install",
)
)
@@ -214,7 +216,12 @@ def configure_launcher_prefix(
)
for command in registry_commands:
results.append(
runner.run(command, env_overrides=environment, timeout_seconds=60.0)
runner.run(
command,
env_overrides=environment,
timeout_seconds=60.0,
telemetry_stage="prefix_configuration",
)
)
for requested, replacement in (
("Segoe UI", "Carlito"),
@@ -236,6 +243,7 @@ def configure_launcher_prefix(
],
env_overrides=environment,
timeout_seconds=60.0,
telemetry_stage="font_configuration",
)
)
if not runner.dry_run:
@@ -263,6 +271,7 @@ def launch_official_updater(
cwd=paths.launcher_patched.parent,
env_overrides=launcher_environment(paths, tools),
timeout_seconds=4 * 60 * 60,
telemetry_stage="launcher_start",
)