Skip to content
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

fix: Remove requirement for WebView 2 #9 #19

Merged
merged 1 commit into from
Sep 17, 2024
Merged

Conversation

greynewell
Copy link
Owner

@greynewell greynewell commented Sep 17, 2024

Summary by Sourcery

Remove the WebView 2 requirement from the CMake configuration to fix compatibility issues.

Bug Fixes:

  • Remove the requirement for WebView 2 in the CMake configuration, addressing issue Fix windows build #9.

Copy link
Contributor

sourcery-ai bot commented Sep 17, 2024

Reviewer's Guide by Sourcery

This pull request removes the requirement for WebView 2 in the project's CMake configuration. It modifies the CMakeLists.txt file to remove WebView 2-related settings, potentially simplifying the build process and reducing dependencies.

File-Level Changes

Change Details Files
Removed WebView 2 requirement and related compile definitions
  • Removed 'NEEDS_WEBVIEW2 TRUE' from juce_add_plugin configuration
  • Removed 'JUCE_USE_WIN_WEBVIEW2_WITH_STATIC_LINKING=1' from target_compile_definitions
CMakeLists.txt

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:
    • Enable or disable the Sourcery-generated pull request summary or reviewer's guide;
    • Change the review language;
  • You can always contact us if you have any questions or feedback.

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @greynewell - I've reviewed your changes - here's some feedback:

Overall Comments:

  • The change looks clean and straightforward, but could you provide more context on why WebView 2 is being removed and if there are any functional impacts we should be aware of?
Here's what I looked at during the review
  • 🟢 General issues: all looks good
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟡 Documentation: 1 issue found

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.

@@ -5,7 +5,6 @@ add_subdirectory(JUCE)
# Setup JUCE build settings, source code and compile definitions

juce_add_plugin(musegpt
NEEDS_WEBVIEW2 TRUE
NEEDS_WEB_BROWSER TRUE
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question (documentation): Clarification on web browser usage

With WebView2 removed but NEEDS_WEB_BROWSER still set to TRUE, could you elaborate on what web browser functionality is being used now?

@greynewell greynewell changed the title fix: Remove requirement for WebView 2, closes #9 fix: Remove requirement for WebView 2 #9 Sep 17, 2024
@greynewell greynewell merged commit 038497f into main Sep 17, 2024
3 of 4 checks passed
@greynewell greynewell deleted the fix-windows-build-ii branch September 17, 2024 04:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant