\r
<footer class="main-footer">\r
<div class="pull-right hidden-xs">\r
- <b id="plugson_build_date">20211203 17:44:10</b>
+ <b id="plugson_build_date">20220204 16:31:23</b>
</div>\r
<strong><a href="https://www.ventoy.net" target="_blank">https://www.ventoy.net</a></strong>\r
</footer>\r
\r
//Main process\r
var m_syntax_error;\r
+ var m_invalid_config;\r
callVtoySync({\r
method : 'sysinfo'\r
}, function(data) {\r
g_current_dir = data.curdir;\r
g_current_os = data.os;\r
m_syntax_error = data.syntax_error;\r
+ m_invalid_config = data.invalid_config;\r
\r
\r
\r
});\r
m_syntax_error = 0;\r
}\r
+ \r
+ if (m_invalid_config === 1 && typeof(Modal) === 'object') {\r
+ var title = g_current_language == 'en' ? g_vtoy_cur_language_en.STR_INFO : g_vtoy_cur_language_cn.STR_INFO;\r
+ var msg = g_current_language == 'en' ? g_vtoy_cur_language_en.STR_INVALID_CONFIG_TIP : g_vtoy_cur_language_cn.STR_INVALID_CONFIG_TIP;\r
+ Modal.alert({title:title,msg:msg}).on(function(e) {\r
+ });\r
+ m_invalid_config = 0;\r
+ }\r
\r
setTimeout(function() {\r
ventoy_handshake();\r