From 52be880543e38c24d7db73ac3ba4ecbad9d38c9a Mon Sep 17 00:00:00 2001 From: r00tz Date: Sun, 27 Sep 2020 09:31:20 -0400 Subject: [PATCH] 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 --- bucket/vulkan.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bucket/vulkan.json b/bucket/vulkan.json index d8205b3f87..0ada73a7b5 100644 --- a/bucket/vulkan.json +++ b/bucket/vulkan.json @@ -27,6 +27,9 @@ ] } }, + "env_set": { + "VULKAN_SDK": "$persist_dir\\scoop\\apps\\vulkan\\current" + }, "checkver": { "url": "https://vulkan.lunarg.com/sdk/home.dhtml", "regex": "/VulkanSDK-([\\d.]+)-Installer\\.exe"