greynewell / musegpt

Local LLMs in your DAW!
https://musegpt.org/
GNU Affero General Public License v3.0
28 stars 1 forks source link

fix: Add powershell script to install WebView2, closes #9 #18

Closed greynewell closed 3 days ago

greynewell commented 3 days ago

Summary by Sourcery

Fix the Windows release build script by adding a PowerShell command to install the WebView2 dependency, ensuring the plugin has all necessary components.

Bug Fixes:

Build:

sourcery-ai[bot] commented 3 days ago

Reviewer's Guide by Sourcery

This pull request adds a PowerShell script to install the WebView2 dependency for the plugin. The changes are implemented in the 'windows_release.ps1' script, which is responsible for setting up the build environment on Windows.

File-Level Changes

Change Details Files
Install WebView2 dependency using NuGet package manager
  • Register NuGet package source
  • Install Microsoft.Web.WebView2 package with specific version
  • Set installation scope to CurrentUser
scripts/build/windows_release.ps1

Tips - Trigger a new Sourcery review by commenting `@sourcery-ai review` on the pull request. - Continue your discussion with Sourcery by replying directly to review comments. - You can change your review settings at any time by accessing your [dashboard](https://app.sourcery.ai): - Enable or disable the Sourcery-generated pull request summary or reviewer's guide; - Change the review language; - You can always [contact us](mailto:support@sourcery.ai) if you have any questions or feedback.
greynewell commented 3 days ago

This fix didn't work, I instead removed the requirement for WebView 2.