mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-06-17 08:47:49 +00:00
Show plugin as error and give guidance for uninstall
This commit is contained in:
@@ -9,7 +9,7 @@ import {
|
||||
staticClasses,
|
||||
} from 'decky-frontend-lib';
|
||||
import { FC, lazy } from 'react';
|
||||
import { FaExclamationCircle, FaPlug } from 'react-icons/fa';
|
||||
import { FaCog, FaExclamationCircle, FaPlug } from 'react-icons/fa';
|
||||
|
||||
import { DeckyState, DeckyStateContextProvider, useDeckyState } from './components/DeckyState';
|
||||
import LegacyPlugin from './components/LegacyPlugin';
|
||||
@@ -249,8 +249,9 @@ class PluginLoader extends Logger {
|
||||
<>
|
||||
Error:{' '}
|
||||
<pre>
|
||||
<code>{e}</code>
|
||||
<code>{e instanceof Error ? e.stack : e?.toString()}</code>
|
||||
</pre>
|
||||
Please go to the <FaCog /> in Decky Loader to go to the settings menu if you need to uninstall this plugin.
|
||||
</>
|
||||
);
|
||||
this.plugins.push({
|
||||
|
||||
Reference in New Issue
Block a user