diff options
| author | marios <marios8543@gmail.com> | 2025-10-06 23:54:49 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-06 23:54:49 +0300 |
| commit | 6fba20239b305e92a79b360ee87850f8f2d9b62e (patch) | |
| tree | 12dba98c397ba7c4adeaa2d7f4332092f1a5577b /frontend/src/plugin.ts | |
| parent | c3c0e87c6fc94cfd753ea45d623849e1b3633316 (diff) | |
| download | decky-loader-6fba20239b305e92a79b360ee87850f8f2d9b62e.tar.gz decky-loader-6fba20239b305e92a79b360ee87850f8f2d9b62e.zip | |
Feat disable plugins (#810)
* implement base frontend changes necessary for plugin disabling
* implement frontend diisable functions/ modal
---------
Co-authored-by: Jesse Bofill <jesse_bofill@yahoo.com>
Diffstat (limited to 'frontend/src/plugin.ts')
| -rw-r--r-- | frontend/src/plugin.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/frontend/src/plugin.ts b/frontend/src/plugin.ts index 0035990e..32d423d5 100644 --- a/frontend/src/plugin.ts +++ b/frontend/src/plugin.ts @@ -14,6 +14,8 @@ export interface Plugin { titleView?: JSX.Element; } +export type DisabledPlugin = Pick<Plugin, 'name' | 'version'>; + export enum InstallType { INSTALL, REINSTALL, @@ -55,3 +57,5 @@ type installPluginsArgs = [ export let installPlugins = DeckyBackend.callable<installPluginsArgs>('utilities/install_plugins'); export let uninstallPlugin = DeckyBackend.callable<[name: string]>('utilities/uninstall_plugin'); +export let enablePlugin = DeckyBackend.callable<[name: string]>('utilities/enable_plugin'); +export let disablePlugin = DeckyBackend.callable<[name: string]>('utilities/disable_plugin'); |
