diff options
| author | AAGaming <aa@mail.catvibers.me> | 2022-06-21 09:52:54 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-21 09:52:54 -0400 |
| commit | e6e74d8e9dcb0612e6e567a2300cca3e8c680f27 (patch) | |
| tree | 812fd1737ecb0453a05e86ce2dff2cff54b85c97 | |
| parent | 6289578f68435a341566c80cff2df2b5dc3005c4 (diff) | |
| download | decky-loader-e6e74d8e9dcb0612e6e567a2300cca3e8c680f27.tar.gz decky-loader-e6e74d8e9dcb0612e6e567a2300cca3e8c680f27.zip | |
Don't allow overriding name
| -rw-r--r-- | frontend/src/plugin-loader.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/plugin-loader.tsx b/frontend/src/plugin-loader.tsx index 5f284503..9b1020c7 100644 --- a/frontend/src/plugin-loader.tsx +++ b/frontend/src/plugin-loader.tsx @@ -119,8 +119,8 @@ class PluginLoader extends Logger { if (res.ok) { let plugin = await eval(await res.text())(this.createPluginAPI(name)); this.plugins.push({ - name: name, ...plugin, + name: name, }); } else throw new Error(`${name} frontend_bundle not OK`); } |
