From 0b20d0aa72f43a8b15da8a79f09cb3773b880bfd Mon Sep 17 00:00:00 2001 From: marcrobledo Date: Tue, 26 Apr 2022 12:52:02 +0200 Subject: [PATCH] added vcdiff extension to zip patch parser --- _cache_service_worker.js | 2 +- js/formats/zip.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_cache_service_worker.js b/_cache_service_worker.js index 052d992..7eb7d75 100644 --- a/_cache_service_worker.js +++ b/_cache_service_worker.js @@ -14,7 +14,7 @@ */ var PRECACHE_ID='rom-patcher-js'; -var PRECACHE_VERSION='v261'; +var PRECACHE_VERSION='v261b'; var PRECACHE_URLS=[ '/RomPatcher.js/','/RomPatcher.js/index.html', '/RomPatcher.js/manifest.json', diff --git a/js/formats/zip.js b/js/formats/zip.js index c7f1970..f5c28f0 100644 --- a/js/formats/zip.js +++ b/js/formats/zip.js @@ -3,7 +3,7 @@ const ZIP_MAGIC='\x50\x4b\x03\x04'; var ZIPManager=(function(){ - const FILTER_PATCHES=/\.(ips|ups|bps|aps|rup|ppf|mod|xdelta)$/i; + const FILTER_PATCHES=/\.(ips|ups|bps|aps|rup|ppf|mod|xdelta|vcdiff)$/i; //const FILTER_ROMS=/(?