Enable process V1 performance counters by default (#1477)

This commit is contained in:
Jan-Otto Kröpke
2024-05-12 00:24:52 +02:00
committed by GitHub
parent 00781dbbee
commit b8747045ce
5 changed files with 48 additions and 13 deletions

View File

@@ -10,6 +10,9 @@ Param (
)
$ErrorActionPreference = "Stop"
# The MSI version is not semver compliant, so just take the numerical parts
$Version = $Version -replace '^v?([0-9\.]+).*$','$1'
# Get absolute path to executable before switching directories
$PathToExecutable = Resolve-Path $PathToExecutable
# Set working dir to this directory, reset previous on exit