-
Notifications
You must be signed in to change notification settings - Fork 0
Update and Uninstall
github-actions[bot] edited this page May 3, 2026
·
5 revisions
Both flows ship as standalone single-file exes that live next to WKVRCProxy.exe.
Sources:
-
src/WKVRCProxy.Updater/Program.cs—WKVRCProxy.Updater.exe -
src/WKVRCProxy.Uninstaller/Program.cs—WKVRCProxy.Uninstaller.exe -
.github/workflows/release.yml— produces the zip the updater consumes
No flags. Running it is the request to check-and-maybe-update. Behaviour:
- Reads the watchdog's
FileVersionInfoto determine "current version". - GETs
https://api.github.com/repos/RealWhyKnot/WKVRCProxy/releases/latest. - Parses the tag, strips the leading
v, parses asSystem.Version. - If the remote isn't newer, prints
You're on the latest version.and exits. - Otherwise prompts:
Update available — install now? [Y/N] (auto-N in 15s). Times out as No if the user is AFK. - On Yes:
- Closes the running watchdog (
CloseMainWindow→Killafter 5 s). - Downloads the
.zipasset from the release assets. - Extracts to a temp dir, copies files over the install dir (skipping its own exe so it doesn't try to overwrite itself while running).
- Relaunches the watchdog and exits.
- Closes the running watchdog (
No flags. No prompt. Running it IS consent. Behaviour:
- Closes any running
WKVRCProxy.exe(CloseMainWindow→Killif needed). - Restores VRChat's
yt-dlp.exefromyt-dlp-og.exe. Belt-and-suspenders: if the backup went missing, drops the bundled vanilla yt-dlp in place so VRChat still has a workingyt-dlp.exe. - Re-execs
WKVRCProxy.exe --remove-hosts-entryunderrunasto remove the127.0.0.1 localhost.youtube.comline. - Wipes
%LOCALAPPDATA%\WKVRCProxy\. - Schedules the install directory's self-deletion via a detached
cmd.exe /c rmdir, so the uninstaller's own exe isn't locked when the directory disappears. - Prints a single completion line and exits with status 0 (or non-zero if any step had errors).
-
Hardcoded GitHub URL: the updater hits
api.github.com/repos/RealWhyKnot/WKVRCProxy. If the repo moves, all installs need a manual update. -
Protected install location: installing under
Program Filesmeans the deferredcmd.exe rmdirruns without elevation and may silently fail to remove the directory. Document install-anywhere usage; the README does. - UAC declined on uninstall: the hosts entry stays. The uninstaller prints a hint pointing to the manual fix; the leftover line is idle and harmless without WKVRCProxy running.
Start here
For users
Reference
For maintainers