mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-07-11 22:22:00 +00:00
Show plugin as error and give guidance for uninstall
This commit is contained in:
@@ -9,7 +9,7 @@ import {
|
|||||||
staticClasses,
|
staticClasses,
|
||||||
} from 'decky-frontend-lib';
|
} from 'decky-frontend-lib';
|
||||||
import { FC, lazy } from 'react';
|
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 { DeckyState, DeckyStateContextProvider, useDeckyState } from './components/DeckyState';
|
||||||
import LegacyPlugin from './components/LegacyPlugin';
|
import LegacyPlugin from './components/LegacyPlugin';
|
||||||
@@ -249,8 +249,9 @@ class PluginLoader extends Logger {
|
|||||||
<>
|
<>
|
||||||
Error:{' '}
|
Error:{' '}
|
||||||
<pre>
|
<pre>
|
||||||
<code>{e}</code>
|
<code>{e instanceof Error ? e.stack : e?.toString()}</code>
|
||||||
</pre>
|
</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({
|
this.plugins.push({
|
||||||
|
|||||||
Reference in New Issue
Block a user