mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-07-11 20:11:59 +00:00
Don't allow overriding name
This commit is contained in:
@@ -119,8 +119,8 @@ class PluginLoader extends Logger {
|
|||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
let plugin = await eval(await res.text())(this.createPluginAPI(name));
|
let plugin = await eval(await res.text())(this.createPluginAPI(name));
|
||||||
this.plugins.push({
|
this.plugins.push({
|
||||||
name: name,
|
|
||||||
...plugin,
|
...plugin,
|
||||||
|
name: name,
|
||||||
});
|
});
|
||||||
} else throw new Error(`${name} frontend_bundle not OK`);
|
} else throw new Error(`${name} frontend_bundle not OK`);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user