mirror of
https://github.com/ventoy/Ventoy.git
synced 2024-12-25 06:35:59 -05:00
Fix the drive letter case check issue for VentoyPlugson in Windows. (#2078)
This commit is contained in:
parent
cd0c7ca884
commit
bf797ceadb
@ -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
|
||||
|
@ -1 +1 @@
|
||||
20221204 12:35:33
|
||||
20221220 18:30:51
|
@ -1 +1 @@
|
||||
bn_BNde_DEen_USfr_FRhi_HIhr_HRid_IDja_JPko_KRpt_PTru_RUsr_RStr_TRzh_CN
|
||||
ar_ARbn_BNde_DEen_USfr_FRhi_HIhr_HRhu_HUid_IDja_JPka_GEko_KRpl_PLpt_PTru_RUsr_RSta_INtr_TRzh_CNzh_TW
|
@ -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 -->
|
||||
|
@ -1 +1 @@
|
||||
bn_BNde_DEen_USfr_FRhi_HIhr_HRid_IDja_JPko_KRpt_PTru_RUsr_RStr_TRzh_CN
|
||||
ar_ARbn_BNde_DEen_USfr_FRhi_HIhr_HRhu_HUid_IDja_JPka_GEko_KRpl_PLpt_PTru_RUsr_RSta_INtr_TRzh_CNzh_TW
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user