Fix clang-format ps1 script (#5637)

* Fix clang-format ps1 script

* use path variable
This commit is contained in:
aMannus
2025-07-01 01:56:55 +02:00
committed by GitHub
parent f80836d8b7
commit db58c3a029

View File

@@ -25,7 +25,7 @@ if (-not (Test-Path $clangFormatFilePath) -or ($currentVersion -ne $requiredVers
}
$wc = New-Object net.webclient
$wc.Downloadfile($url, $llvmInstallerPath)
$wc.Downloadfile($url, $PSScriptRoot + $llvmInstallerPath)
$sevenZipPath = "C:\Program Files\7-Zip\7z.exe"
$specificFileInArchive = "bin\clang-format.exe"