[Update/Refactor] Automatically disable and save the status to config.json if the plugin is not supported.

This commit is contained in:
Sakamoto Shiina committed 2025-04-17 19:44:14 +09:00
1 parent b8c1688172
commit fd59c0b28f
3 files changed
+33 -29

No files matched your search

@@ -10,6 +10,7 @@ export const MergePluginsController = () => {
currentFetchedPluginsInfo,
currentSavedPluginsStatus,
downloadAndExtractPlugin,
toggleSavedPluginStatus,
} = usePlugins();
const { checkVrctVerCompatibility } = useSoftwareVersion();
@@ -129,6 +130,7 @@ export const MergePluginsController = () => {
!plugin.latest_plugin_info?.is_plugin_supported
) {
plugin.is_enabled = false;
toggleSavedPluginStatus(plugin.plugin_id);
}
}
});