mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-06-17 00:37:49 +00:00
Replace tabs hook, fix panels, bump lib
This commit is contained in:
@@ -117,10 +117,10 @@ class PluginLoader extends Logger {
|
||||
private async importReactPlugin(name: string) {
|
||||
let res = await fetch(`http://127.0.0.1:1337/plugins/${name}/frontend_bundle`);
|
||||
if (res.ok) {
|
||||
let { name: _, content } = await eval(await res.text())(this.createPluginAPI(name));
|
||||
let plugin = await eval(await res.text())(this.createPluginAPI(name));
|
||||
this.plugins.push({
|
||||
name: name,
|
||||
...content,
|
||||
...plugin,
|
||||
});
|
||||
} else throw new Error(`${name} frontend_bundle not OK`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user