mirror of
https://github.com/lhns/steam-frame-nix.git
synced 2026-10-06 05:00:24 +02:00
steamFrame.uiPatches.patches registers JS patches that the steam-ui-patches user service keeps injected into Steam's (or SteamVR's) web UI over the local CEF DevTools ports and reverts when it stops. steamFrame.launcherMenu uses it for the VR "+" menu: sort = true sorts the programs by name; pinDesktop = "top" / "bottom" pins Desktop above or below the scrolling list.
9 lines
233 B
JavaScript
9 lines
233 B
JavaScript
// Reverts pinned-desktop/patch.js (pinned blocks, CSS, markers, observers,
|
|
// timer). Safe when not patched.
|
|
(() => {
|
|
const st = window.__sfuiPinnedDesktop;
|
|
if (!st) return 'not patched';
|
|
st.stop();
|
|
return 'unpatched';
|
|
})()
|