Skip to content

Build system fixes & Discord RPC update#187

Open
ThePotato97 wants to merge 10 commits intoZaarrg:webview-windowsfrom
ThePotato97:webview-windows
Open

Build system fixes & Discord RPC update#187
ThePotato97 wants to merge 10 commits intoZaarrg:webview-windowsfrom
ThePotato97:webview-windows

Conversation

@ThePotato97
Copy link
Copy Markdown

Cleaned up the build process so it actually works without manual trial and error. Also updated Discord RPC fields.

Build stuff:

  • Added vcpkg.json so dependencies install themselves.
  • Forced CMake to pre-download NASM from a mirror because the official site keeps timing out.
  • Made CMake auto-extract the mpv dll and auto-apply the discord-rpc patch.
  • Defaulted build folder to out/.

Discord RPC:

  • Flattened the buttons (no more arrays/nested structs).
  • Added new activity fields (name, statusDisplayType, etc).
  • Added status display type constants.
  • Updated SetDiscordVideoPresence, SetDiscordDiscoverPresence, and SetDiscordMetaDetailPresence to actually use the new display types.

CI & Other stuff:

  • Added a proper .gitignore so the repo stays clean.

just run cmake -S . -B out and it should build fine.

@Zaarrg
Copy link
Copy Markdown
Owner

Zaarrg commented Jan 7, 2026

thanks for the amazing pr, will review and merge when i have time

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.

2 participants