mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-08-28 00:11:15 +00:00
VentoyPlugson: Add Windows duplicate file path check for different upper/lower case.
This commit is contained in:
@@ -464,9 +464,13 @@ function VtoySetPassword(common, type, cb, data) {
|
||||
path: data.path,
|
||||
pwd: data.pwd
|
||||
}, function(e) {
|
||||
list.push(data);
|
||||
FillMenuPwdTable(list);
|
||||
Message.success(g_vtoy_cur_language.STR_SAVE_SUCCESS);
|
||||
if (e.result === 'success') {
|
||||
list.push(data);
|
||||
FillMenuPwdTable(list);
|
||||
Message.success(g_vtoy_cur_language.STR_SAVE_SUCCESS);
|
||||
} else if (e.result === 'duplicate') {
|
||||
Message.error(g_vtoy_cur_language.STR_DUPLICATE_PATH);
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user