mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-05-29 06:15:27 -04:00
VentoyPlugson: Add Windows duplicate file path check for different upper/lower case.
This commit is contained in:
parent
9b7d6cbc3d
commit
3e75b2df3b
16 changed files with 178 additions and 63 deletions
|
@ -152,9 +152,13 @@
|
|||
alias: data.alias,
|
||||
type: type
|
||||
}, function(e) {
|
||||
list.push(data);
|
||||
FillAliasTable(list);
|
||||
Message.success(g_vtoy_cur_language.STR_SAVE_SUCCESS);
|
||||
if (e.result === 'success') {
|
||||
list.push(data);
|
||||
FillAliasTable(list);
|
||||
Message.success(g_vtoy_cur_language.STR_SAVE_SUCCESS);
|
||||
} else if (e.result === 'duplicate') {
|
||||
Message.error(g_vtoy_cur_language.STR_DUPLICATE_PATH);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue