mirror of
https://github.com/marcrobledo/RomPatcher.js.git
synced 2025-09-25 17:36:56 +00:00
BSDIFF support
This commit is contained in:
parent
35f467faf2
commit
9543a3aa1c
9 changed files with 109 additions and 3 deletions
|
@ -50,6 +50,7 @@ const RomPatcherWeb = (function () {
|
|||
'modules/RomPatcher.format.ppf.js',
|
||||
'modules/RomPatcher.format.pmsr.js',
|
||||
'modules/RomPatcher.format.vcdiff.js',
|
||||
'modules/RomPatcher.format.bdf.js',
|
||||
'modules/zip.js/zip.min.js',
|
||||
'RomPatcher.js'
|
||||
];
|
||||
|
@ -1175,7 +1176,7 @@ const ZIPManager = (function (romPatcherWeb) {
|
|||
|
||||
const ZIP_MAGIC = '\x50\x4b\x03\x04';
|
||||
|
||||
const FILTER_PATCHES = /\.(ips|ups|bps|aps|rup|ppf|mod|ebp|xdelta|vcdiff)$/i;
|
||||
const FILTER_PATCHES = /\.(ips|ups|bps|aps|rup|ppf|mod|ebp|xdelta|vcdiff|bdf|bspatch)$/i;
|
||||
//const FILTER_ROMS=/(?<!\.(txt|diz|rtf|docx?|xlsx?|html?|pdf|jpe?g|gif|png|bmp|webp|zip|rar|7z))$/i; //negative lookbehind is not compatible with Safari https://stackoverflow.com/a/51568859
|
||||
const FILTER_NON_ROMS = /(\.(txt|diz|rtf|docx?|xlsx?|html?|pdf|jpe?g|gif|png|bmp|webp|zip|rar|7z))$/i;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue