Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dadigang
Ventoy
Commits
bf797cea
Commit
bf797cea
authored
Dec 20, 2022
by
longpanda
Browse files
Fix the drive letter case check issue for VentoyPlugson in Windows. (#2078)
parent
cd0c7ca8
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
21 additions
and
8 deletions
+21
-8
Plugson/pack.sh
Plugson/pack.sh
+6
-0
Plugson/www/buildtime
Plugson/www/buildtime
+1
-1
Plugson/www/helplist
Plugson/www/helplist
+1
-1
Plugson/www/index.html
Plugson/www/index.html
+4
-4
Plugson/www/menulist
Plugson/www/menulist
+1
-1
Plugson/www/static/js/vtoy.js
Plugson/www/static/js/vtoy.js
+8
-1
No files found.
Plugson/pack.sh
View file @
bf797cea
...
...
@@ -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
...
...
Plugson/www/buildtime
View file @
bf797cea
20221204 12:35:33
\ No newline at end of file
20221220 18:30:51
\ No newline at end of file
Plugson/www/helplist
View file @
bf797cea
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
Plugson/www/index.html
View file @
bf797cea
...
...
@@ -757,7 +757,7 @@
<footer
class=
"main-footer"
>
<div
class=
"pull-right hidden-xs"
>
<b
id=
"plugson_build_date"
>
2022120
4
1
2
:3
5:33
</b>
<b
id=
"plugson_build_date"
>
202212
2
0 1
8
:3
0: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=10
0
"
></script>
<script
src=
"/static/js/jquery.validate.vtoymethods.js?v=10
1
"
></script>
<script
src=
"/static/js/jquery.vtoy.alert.js?v=10
0
"
></script>
<script
src=
"/static/js/vtoy.js?v=10
0
"
></script>
<script
src=
"/static/js/jquery.vtoy.alert.js?v=10
1
"
></script>
<script
src=
"/static/js/vtoy.js?v=10
1
"
></script>
<script
src=
"/static/js/md5.min.js"
></script>
<!-- Bootstrap 3.3.5 -->
...
...
Plugson/www/menulist
View file @
bf797cea
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
Plugson/www/static/js/vtoy.js
View file @
bf797cea
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment