Commit bf797cea authored by longpanda's avatar longpanda
Browse files

Fix the drive letter case check issue for VentoyPlugson in Windows. (#2078)

parent cd0c7ca8
......@@ -22,6 +22,12 @@ if [ -f ./www.tar.xz ]; then
rm -f ./www.tar.xz
fi
VV=$(grep -m1 '\?v=' ./www/index.html | sed 's/.*v=\([0-9][0-9]*\).*/\1/g')
let VV++
echo V=$VV
sed "s/\?v=[0-9][0-9]*/?v=$VV/g" -i ./www/index.html
[ -f ./www/helplist ] && rm -f ./www/helplist
ls -1 ../INSTALL/grub/help/ | while read line; do
echo -n ${line:0:5} >> ./www/helplist
......
20221204 12:35:33
\ No newline at end of file
20221220 18:30:51
\ No newline at end of file
bn_BNde_DEen_USfr_FRhi_HIhr_HRid_IDja_JPko_KRpt_PTru_RUsr_RStr_TRzh_CN
\ No newline at end of file
ar_ARbn_BNde_DEen_USfr_FRhi_HIhr_HRhu_HUid_IDja_JPka_GEko_KRpl_PLpt_PTru_RUsr_RSta_INtr_TRzh_CNzh_TW
\ No newline at end of file
......@@ -757,7 +757,7 @@
<footer class="main-footer">
<div class="pull-right hidden-xs">
<b id="plugson_build_date">20221204 12:35:33</b>
<b id="plugson_build_date">20221220 18:30:51</b>
</div>
<strong><a href="https://www.ventoy.net" target="_blank">https://www.ventoy.net</a></strong>
</footer>
......@@ -777,10 +777,10 @@
<script src="/static/js/jQuery-2.1.4.min.js"></script>
<!-- jquery validate -->
<script src="/static/js/jquery.validate.min.js"></script>
<script src="/static/js/jquery.validate.vtoymethods.js?v=100"></script>
<script src="/static/js/jquery.validate.vtoymethods.js?v=101"></script>
<script src="/static/js/jquery.vtoy.alert.js?v=100"></script>
<script src="/static/js/vtoy.js?v=100"></script>
<script src="/static/js/jquery.vtoy.alert.js?v=101"></script>
<script src="/static/js/vtoy.js?v=101"></script>
<script src="/static/js/md5.min.js"></script>
<!-- Bootstrap 3.3.5 -->
......
bn_BNde_DEen_USfr_FRhi_HIhr_HRid_IDja_JPko_KRpt_PTru_RUsr_RStr_TRzh_CN
\ No newline at end of file
ar_ARbn_BNde_DEen_USfr_FRhi_HIhr_HRhu_HUid_IDja_JPka_GEko_KRpl_PLpt_PTru_RUsr_RSta_INtr_TRzh_CNzh_TW
\ No newline at end of file
......@@ -33,6 +33,8 @@ function ventoy_get_ulen(str) {
function ventoy_common_check_path(path) {
var curdir
if (path.indexOf('//') >= 0) {
return false;
}
......@@ -41,7 +43,12 @@ function ventoy_common_check_path(path) {
return false;
}
if (path.substr(0, g_current_dir.length) != g_current_dir) {
curdir = path.substr(0, g_current_dir.length);
if (curdir.match("^[a-z]:$")) {
curdir = curdir.toUpperCase();
}
if (curdir != g_current_dir) {
return false;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment