1
0
Fork 0
mirror of https://github.com/marcrobledo/RomPatcher.js.git synced 2025-06-27 16:25:54 +00:00

dirty fix for issue #12

This commit is contained in:
marcrobledo 2020-09-15 13:58:24 +02:00
parent 41d9af379f
commit a4eb4b1331
3 changed files with 9 additions and 3 deletions

View file

@ -29,7 +29,7 @@ caches.keys().then(function(cacheNames){
});
var PRECACHE_ID='rom-patcher-js';
var PRECACHE_VERSION='v10';
var PRECACHE_VERSION='v11';
var PRECACHE_URLS=[
'/RomPatcher.js/','/RomPatcher.js/index.html',
'/RomPatcher.js/manifest.json',

View file

@ -173,7 +173,7 @@
<!-- FOOTER -->
<footer>
Rom Patcher JS <small>v2.3</small> by <a href="/">Marc Robledo</a>
Rom Patcher JS <small>v2.3b</small> by <a href="/">Marc Robledo</a>
<br />
<i class="icon github"></i> <a href="https://github.com/marcrobledo/RomPatcher.js/" target="_blank">See on GitHub</a>
<i class="icon heart"></i> <a href="https://www.paypal.me/marcrobledo/5" target="_blank" rel="nofollow">Donate</a>

View file

@ -1,4 +1,4 @@
/* Rom Patcher JS v20200502 - Marc Robledo 2016-2020 - http://www.marcrobledo.com/license */
/* Rom Patcher JS v20200915 - Marc Robledo 2016-2020 - http://www.marcrobledo.com/license */
const TOO_BIG_ROM_SIZE=67108863;
const HEADERS_INFO=[
@ -214,6 +214,12 @@ addEvent(window,'load',function(){
});
/* dirty fix for mobile Safari https://stackoverflow.com/a/19323498 */
if(/Mobile\/\S+ Safari/.test(navigator.userAgent)){
el('input-file-patch').accept='';
}
/* predefined patches */
if(typeof PREDEFINED_PATCHES!=='undefined'){