Update webpHero to v0.0.2

This commit is contained in:
Jaifroid 2023-12-06 14:32:02 +00:00
parent bafecaa3f4
commit 41bca5f437
7 changed files with 7 additions and 7 deletions

View File

@ -192,7 +192,7 @@
<Content Include="www\js\lib\zimfile.js" />
<Content Include="www\js\lib\xzdec-wasm.wasm" />
<Content Include="www\js\lib\zstddec-wasm.wasm" />
<Content Include="www\js\lib\webpHeroBundle_0.0.0-dev.27.js" />
<Content Include="www\js\lib\webpHeroBundle_0.0.2.js" />
<None Include="Package.StoreAssociation.xml" />
<Content Include="manifest.json" />
<Content Include="service-worker.js" />

View File

@ -193,7 +193,7 @@
<Content Include="www\js\lib\zimfile.js" />
<Content Include="www\js\lib\xzdec-wasm.wasm" />
<Content Include="www\js\lib\zstddec-wasm.wasm" />
<Content Include="www\js\lib\webpHeroBundle_0.0.0-dev.27.js" />
<Content Include="www\js\lib\webpHeroBundle_0.0.2.js" />
<None Include="Package.StoreAssociation.xml" />
<Content Include="manifest.json" />
<Content Include="service-worker.js" />

View File

@ -18,7 +18,7 @@ $ListOfExemptions = (
'www/img/icons/kiwix-64.png',
'www/img/icons/kiwix-90.png',
'www/img/Kiwix_icon_transparent_600x600.png',
'www/js/lib/webpHeroBundle_0.0.0-dev.27.js'
'www/js/lib/webpHeroBundle_0.0.2.js'
)
# Get the absolute root directory

View File

@ -197,7 +197,7 @@ const precacheFiles = [
'www/js/lib/zimDirEntry.js',
'www/js/lib/zimfile.js',
'www/js/lib/darkreader.min.js', // Don't move this or below to prevent them being deleted by the build process
'www/js/lib/webpHeroBundle_0.0.0-dev.27.js',
'www/js/lib/webpHeroBundle_0.0.2.js',
'www/js/katex/katex.min.js',
'www/js/katex/katex.min.css',
'www/js/katex/contrib/auto-render.min.js',

View File

@ -23,7 +23,7 @@
'use strict';
/* global Windows, launchArgumentsUWP */
/* global Windows, launchArgumentsUWP, webpHero */
/* eslint-disable no-unused-vars */
// Set a global error handler to prevent app crashes
@ -485,7 +485,7 @@ var webpMachine = false;
webpScript.onload = function () {
webpMachine = new webpHero.WebpMachine();
}
webpScript.src = 'js/webpHeroBundle_0.0.0-dev.27.js';
webpScript.src = 'js/webpHeroBundle_0.0.2.js';
document.head.appendChild(webpScript);
}
});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long