mirror of
https://github.com/HighCapable/YukiHookAPI-ProjectBuilder.git
synced 2025-09-04 09:45:36 +08:00
Modify remove deprecated options for auto generic process
This commit is contained in:
@@ -162,15 +162,6 @@
|
||||
<option class="i18n" value="2">{{noOfConfigure}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="mdui-textfield">
|
||||
<i class="mdui-icon material-icons">storage</i>
|
||||
<label class="mdui-textfield-label i18n">{{enableYukiHookPrefsBridgeCache}}</label>
|
||||
<select class="mdui-select" id="enable_yprefs_cache_select">
|
||||
<option class="i18n" value="0">{{notConfigureDefYes}}</option>
|
||||
<option class="i18n" value="1">{{yesOfConfigure}}</option>
|
||||
<option class="i18n" value="2">{{noOfConfigure}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="mdui-textfield">
|
||||
<i class="mdui-icon material-icons">satellite</i>
|
||||
<label class="mdui-textfield-label i18n">{{enableModuleResourcesCache}}</label>
|
||||
@@ -198,15 +189,6 @@
|
||||
<option class="i18n" value="2">{{noOfConfigure}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="mdui-textfield">
|
||||
<i class="mdui-icon material-icons">texture</i>
|
||||
<label class="mdui-textfield-label i18n">{{enableMemberCache}}</label>
|
||||
<select class="mdui-select" id="enable_member_cache_select">
|
||||
<option class="i18n" value="0">{{notConfigureDefYes}}</option>
|
||||
<option class="i18n" value="1">{{yesOfConfigure}}</option>
|
||||
<option class="i18n" value="2">{{noOfConfigure}}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div style="margin-top: 15px"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -71,11 +71,9 @@ const projectConfigs = {
|
||||
supportResourcesHook: 0,
|
||||
enableDebug: 0,
|
||||
enableDebugLog: 0,
|
||||
enableYPrefsCache: 0,
|
||||
enableResourcesCache: 0,
|
||||
enableModuleStatus: 0,
|
||||
enableYChannel: 0,
|
||||
enableMemberCache: 0
|
||||
},
|
||||
projectDependencies: {
|
||||
gradlePaper: '',
|
||||
@@ -308,11 +306,9 @@ const configForm = {
|
||||
supportResourcesHookSelect: () => valUtils.integerOf($('#support_resources_hook_select option:selected').val()),
|
||||
enableDebugSelect: () => valUtils.integerOf($('#enable_debug_select option:selected').val()),
|
||||
enableDebugLogSelect: () => valUtils.integerOf($('#enable_debug_log_select option:selected').val()),
|
||||
enableYPrefsCacheSelect: () => valUtils.integerOf($('#enable_yprefs_cache_select option:selected').val()),
|
||||
enableResourcesCacheSelect: () => valUtils.integerOf($('#enable_resources_cache_select option:selected').val()),
|
||||
enableModuleStatusSelect: () => valUtils.integerOf($('#enable_module_status_select option:selected').val()),
|
||||
enableYChannelSelect: () => valUtils.integerOf($('#enable_ychannel_select option:selected').val()),
|
||||
enableMemberCacheSelect: () => valUtils.integerOf($('#enable_member_cache_select option:selected').val())
|
||||
enableYChannelSelect: () => valUtils.integerOf($('#enable_ychannel_select option:selected').val())
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -347,11 +343,9 @@ const build = {
|
||||
projectConfigs.yukiHookApiConfig.supportResourcesHook = configForm.supportResourcesHookSelect();
|
||||
projectConfigs.yukiHookApiConfig.enableDebug = configForm.enableDebugSelect();
|
||||
projectConfigs.yukiHookApiConfig.enableDebugLog = configForm.enableDebugLogSelect();
|
||||
projectConfigs.yukiHookApiConfig.enableYPrefsCache = configForm.enableYPrefsCacheSelect();
|
||||
projectConfigs.yukiHookApiConfig.enableResourcesCache = configForm.enableResourcesCacheSelect();
|
||||
projectConfigs.yukiHookApiConfig.enableModuleStatus = configForm.enableModuleStatusSelect();
|
||||
projectConfigs.yukiHookApiConfig.enableYChannel = configForm.enableYChannelSelect();
|
||||
projectConfigs.yukiHookApiConfig.enableMemberCache = configForm.enableMemberCacheSelect();
|
||||
projectConfigs.projectDependencies = {
|
||||
gradlePaper: '',
|
||||
androidGradlePluginVersion: '',
|
||||
@@ -622,11 +616,9 @@ const configTemplate = {
|
||||
$('#support_resources_hook_select').val(data.yukiHookApiConfig.supportResourcesHook);
|
||||
$('#enable_debug_select').val(data.yukiHookApiConfig.enableDebug);
|
||||
$('#enable_debug_log_select').val(data.yukiHookApiConfig.enableDebugLog);
|
||||
$('#enable_yprefs_cache_select').val(data.yukiHookApiConfig.enableYPrefsCache);
|
||||
$('#enable_resources_cache_select').val(data.yukiHookApiConfig.enableResourcesCache);
|
||||
$('#enable_module_status_select').val(data.yukiHookApiConfig.enableModuleStatus);
|
||||
$('#enable_ychannel_select').val(data.yukiHookApiConfig.enableYChannel);
|
||||
$('#enable_member_cache_select').val(data.yukiHookApiConfig.enableMemberCache);
|
||||
monitor.refresh();
|
||||
moduleScope.refresh(data.basicConfig.moduleScopes);
|
||||
page.snack(locale.format(locale.i18n.configTemplateLoaded, parse.name));
|
||||
|
Reference in New Issue
Block a user