-
Notifications
You must be signed in to change notification settings - Fork 46
Update vulkanSDK (downloading latest version, rewrote .json file and registry entries creation) #742
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Merged current master
Update the fork with changes from master fork.
Fork update
merge changes
Merging changes to the fork
Merging updates from master fork
Merging changes from master
Rewrote the script to download the latest version of vulkan SDK and reworked how the json file is handled.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This breaks the ability to install the Verb from JavaFX. Please change only the content of
Wine.prototype.vulkanSDK = function () {
Restored verb implementation.
var contentVulkanJSON = this.prefixDirectory() + "drive_c/windows/winevulkan.json"; | ||
touch(contentVulkanJSON); | ||
writeToFile(contentVulkanJSON, "{\n ""file_format_version"": "1.0.0",\n ""ICD"": {\n ""library_path"": ""c:\windows\system32\winevulkan.dll"",\n ""api_version"": ""1.1.92.1""\n }\n}"); | ||
this.run("reg", ["add", "HKLM\Software\Khronos\Vulkan\Drivers", "/v", "C:\Windows\winevulkan.json", "/t", "REG_DWORD", "/d", "00000000", "/f"], null, false, true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be possible to use the regedit
plugin. If you explicitly want to use add
instead of regedit.patch
, you should add an according method to the plugin.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can create a ticket to fix this later
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok.
Changed variable name.
@Zemogiter anything you want to do or shall we merge? |
I've retested this verb just now and got this error:
What's strange is that the |
You have |
But these |
That's why I said: they must be escaped with writeToFile(patchVulkanJSON, "{\n ""file_format_version"": "1.0.0"... do writeToFile(patchVulkanJSON, "{\n \"file_format_version\": \"1.0.0\"... |
Oh okey I didn't understand you before. The script is now operational and ready to be merged. |
Fixed the extra `"` inside the 2nd parm of `writeToFile` crashing the installer.
Don't you need to push something? |
Ah ok. |
Codacy complains about those escape characters. But they are needed or else installation of |
Yes, I've seen this before. I don't think you can fix it. |
Ready for review.