vulcan: Add VULKAN_SDK var (#1414)

* Added VULKAN_SDK path

I am not sure if this is the best method but VULKAN_SDK path should be automatically added so that any tools looking for Vulkan can do so with ease :)

normally something like this works [Environment]::SetEnvironmentVariable("VULKAN_SDK", "$env:USERPROFILE/scoop/apps/vulkan/current/", "Machine")
assuming scoop is in userprofile and not elsewhere.

* Update vulkan.json

* Fix json typo

Co-authored-by: Ross Smith II <ross@smithii.com>
This commit is contained in:
r00tz 2020-09-27 09:31:20 -04:00 committed by GitHub
parent 4d4ce0e54b
commit 52be880543
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,6 +27,9 @@
] ]
} }
}, },
"env_set": {
"VULKAN_SDK": "$persist_dir\\scoop\\apps\\vulkan\\current"
},
"checkver": { "checkver": {
"url": "https://vulkan.lunarg.com/sdk/home.dhtml", "url": "https://vulkan.lunarg.com/sdk/home.dhtml",
"regex": "/VulkanSDK-([\\d.]+)-Installer\\.exe" "regex": "/VulkanSDK-([\\d.]+)-Installer\\.exe"