This commit is contained in:
parent
cce177542b
commit
277054e982
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ $vulkanBasePath = "C:\VulkanSDK"
|
|||
$folders = Get-ChildItem -Path $vulkanBasePath -Directory
|
||||
|
||||
# Sort the folders by version and select the latest one
|
||||
$latestVulkanVersion = $folders | Sort-Object { [Version]$_ .Name } -Descending | Select-Object -First 1
|
||||
$latestVulkanVersion = $folders | Sort-Object { [Version]$_.Name } -Descending | Select-Object -First 1
|
||||
|
||||
# Store the latest version folder name and combine it with the base path to get the full path to Include
|
||||
$vulkanSDKPath = Join-Path -Path $vulkanBasePath -ChildPath (Join-Path -Path $latestVulkanVersion.Name -ChildPath "Include")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue