es-menu: wire up AUTO FRAME DELAY and ship wg-quick for WIREGUARD VPN

Two ES menu items that wrote settings nothing consumed / called a missing
binary, found in the menu audit:

- AUTO FRAME DELAY (Latency menu) persisted `<config>.video_frame_delay_auto`
  to system.cfg, but setsettings.sh never translated it into retroarch.cfg,
  so the toggle did nothing. Add set_frame_delay(): ON/OFF -> RetroArch
  `video_frame_delay_auto = true/false`, AUTO leaves the cfg default.

- WIREGUARD VPN toggle runs `wg-quick up/down`, but the wireguard-tools
  package only installed `wg`, so every toggle silently failed. wg-quick is
  the upstream bash helper (src/wg-quick/linux.bash); install it. Runtime
  deps (bash, ip, wg, iptables) are all present.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Douglas Teles
2026-06-25 23:06:48 -03:00
parent f152192961
commit 4c0e295db2
2 changed files with 17 additions and 0 deletions
@@ -25,6 +25,12 @@ makeinstall_target() {
mkdir -p ${INSTALL}/usr/bin
cp ${PKG_DIR}/scripts/wg-keygen ${INSTALL}/usr/bin
cp ${PKG_BUILD}/src/wg ${INSTALL}/usr/bin
# wg-quick is the upstream interface up/down helper (a bash script). The
# ES "WIREGUARD VPN" toggle runs `wg-quick up/down`, but only `wg` was
# installed, so the toggle silently failed. Ship the Linux variant; its
# runtime deps (bash, ip, wg, iptables) are all present.
cp ${PKG_BUILD}/src/wg-quick/linux.bash ${INSTALL}/usr/bin/wg-quick
chmod +x ${INSTALL}/usr/bin/wg-quick
mkdir -p ${INSTALL}/usr
cp -R ${PKG_DIR}/config ${INSTALL}/usr