mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-07-12 18:19:42 -07:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user