mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-06-17 00:37:49 +00:00
Migrate most of frontend callServerMethod usage over to websocket
This commit is contained in:
@@ -50,9 +50,7 @@ export async function setShouldConnectToReactDevTools(enable: boolean) {
|
||||
icon: <FaReact />,
|
||||
});
|
||||
await sleep(5000);
|
||||
return enable
|
||||
? window.DeckyPluginLoader.callServerMethod('enable_rdt')
|
||||
: window.DeckyPluginLoader.callServerMethod('disable_rdt');
|
||||
return enable ? window.DeckyBackend.call('utilities/enable_rdt') : window.DeckyBackend.call('utilities/disable_rdt');
|
||||
}
|
||||
|
||||
export async function startup() {
|
||||
|
||||
Reference in New Issue
Block a user