VentoyPlugson: Add Windows duplicate file path check for different upper/lower case.

This commit is contained in:
longpanda 2022-12-21 13:21:54 +08:00
parent 9b7d6cbc3d
commit 3e75b2df3b
16 changed files with 178 additions and 63 deletions

View file

@ -358,9 +358,13 @@
backend: call_array,
type: type
}, function(e) {
list.push(data);
FillPersistenceTable(list);
Message.success(g_vtoy_cur_language.STR_SAVE_SUCCESS);
if (e.result === 'success') {
list.push(data);
FillPersistenceTable(list);
Message.success(g_vtoy_cur_language.STR_SAVE_SUCCESS);
} else if (e.result === 'duplicate') {
Message.error(g_vtoy_cur_language.STR_DUPLICATE_PATH);
}
});
}