[Update/bugfix]

Fix handling flag 'is_latest_version_already' that was overrode unexpectedly.
Add some patterns to plugin list. it shows update-able if the user update vrct.
Add auto update function if the plugin is enabled.
Add safety that turn to disable the plugin if it's not supported with current vrct version.
This commit is contained in:
Sakamoto Shiina
2025-04-13 17:14:54 +09:00
parent 1bea61c45a
commit ddc6408828
4 changed files with 50 additions and 11 deletions

View File

@@ -53,6 +53,7 @@ export const ui_configs = {
};
export const IS_PLUGIN_DEV_MODE = false;
if (IS_PLUGIN_DEV_MODE) console.warn("ui_configs IS_PLUGIN_DEV_MODE: true. Turn to 'false' when it's production environment.");
export const getPluginsList = () => {
const base_url = "https://raw.githubusercontent.com/ShiinaSakamoto/vrct_plugins_list/main/";
const plugins_list_url = (IS_PLUGIN_DEV_MODE)