From 539b3080bca6637775275e6fe0ceb50b18a6fec2 Mon Sep 17 00:00:00 2001 From: Marc Robledo Date: Sun, 9 Jan 2022 10:49:14 +0100 Subject: [PATCH] fixed #34: Safari not working with zip files --- _cache_service_worker.js | 2 +- index.html | 2 +- js/formats/zip.js | 17 +++++++++++------ 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/_cache_service_worker.js b/_cache_service_worker.js index 886bcad..956afdd 100644 --- a/_cache_service_worker.js +++ b/_cache_service_worker.js @@ -29,7 +29,7 @@ caches.keys().then(function(cacheNames){ }); var PRECACHE_ID='rom-patcher-js'; -var PRECACHE_VERSION='v14'; +var PRECACHE_VERSION='v14b'; var PRECACHE_URLS=[ '/RomPatcher.js/','/RomPatcher.js/index.html', '/RomPatcher.js/manifest.json', diff --git a/index.html b/index.html index 40ebf38..5a510a2 100644 --- a/index.html +++ b/index.html @@ -185,7 +185,7 @@ - Rom Patcher JS v2.5 by Marc Robledo + Rom Patcher JS v2.5.1 by Marc Robledo
See on GitHub Donate diff --git a/js/formats/zip.js b/js/formats/zip.js index f58a5c1..00cacfd 100644 --- a/js/formats/zip.js +++ b/js/formats/zip.js @@ -1,10 +1,11 @@ -/* ZIP module for Rom Patcher JS v20210815 - Marc Robledo 2016-2021 - http://www.marcrobledo.com/license */ +/* ZIP module for Rom Patcher JS v20220109 - Marc Robledo 2016-2022 - http://www.marcrobledo.com/license */ const ZIP_MAGIC='\x50\x4b\x03\x04'; var ZIPManager=(function(){ - const FILTER_PATCHES=/\.(ips|ups|bps|aps|rup|ppf|xdelta)$/i; - const FILTER_ROMS=/(?