feat(setting): expose local plugin paths

This commit is contained in:
InfinityPacer
2026-04-18 03:11:55 +08:00
parent 1120055eed
commit 48c12b765d
4 changed files with 17 additions and 0 deletions

View File

@@ -84,6 +84,7 @@ const SystemSettings = ref<any>({
LOG_FILE_FORMAT: '【%(levelname)s】%(asctime)s - %(message)s',
// 实验室
PLUGIN_AUTO_RELOAD: false,
PLUGIN_LOCAL_PATHS: '',
ENCODING_DETECTION_PERFORMANCE_MODE: true,
TRANSFER_THREADS: 1,
},
@@ -1458,6 +1459,15 @@ onDeactivated(() => {
persistent-hint
/>
</VCol>
<VCol cols="12" md="6">
<VTextField
v-model="SystemSettings.Advanced.PLUGIN_LOCAL_PATHS"
:label="t('setting.system.pluginLocalPaths')"
:hint="t('setting.system.pluginLocalPathsHint')"
persistent-hint
prepend-inner-icon="mdi-folder-code"
/>
</VCol>
<VCol cols="12" md="6">
<VSwitch
v-model="SystemSettings.Advanced.ENCODING_DETECTION_PERFORMANCE_MODE"