Update web install for fastboot.js and zip.js updates
This commit is contained in:
parent
bddb6ae5b7
commit
b88a4bcb88
@ -87,7 +87,9 @@ function addButtonHook(id, callback) {
|
|||||||
// zip.js is loaded separately.
|
// zip.js is loaded separately.
|
||||||
// eslint-disable-next-line no-undef
|
// eslint-disable-next-line no-undef
|
||||||
zip.configure({
|
zip.configure({
|
||||||
workerScriptsPath: "/js/fastboot/libs/",
|
workerScripts: {
|
||||||
|
inflate: ["/js/fastboot/libs/z-worker-pako.js", "pako_inflate.min.js"],
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
if ("usb" in navigator) {
|
if ("usb" in navigator) {
|
||||||
|
@ -26,12 +26,12 @@
|
|||||||
<link rel="stylesheet" href="/grapheneos.css?29"/>
|
<link rel="stylesheet" href="/grapheneos.css?29"/>
|
||||||
<link rel="manifest" href="/manifest.webmanifest"/>
|
<link rel="manifest" href="/manifest.webmanifest"/>
|
||||||
<link rel="license" href="/LICENSE.txt"/>
|
<link rel="license" href="/LICENSE.txt"/>
|
||||||
<script defer="defer" src="/js/fastboot/libs/zip.min.js?0"></script>
|
<script defer="defer" src="/js/fastboot/libs/zip-inflate.min.js?0"></script>
|
||||||
<script type="module" src="/js/fastboot/common.js?0"></script>
|
<script type="module" src="/js/fastboot/common.js?1"></script>
|
||||||
<script type="module" src="/js/fastboot/factory.js?0"></script>
|
<script type="module" src="/js/fastboot/factory.js?1"></script>
|
||||||
<script type="module" src="/js/fastboot/sparse.js?0"></script>
|
<script type="module" src="/js/fastboot/sparse.js?1"></script>
|
||||||
<script type="module" src="/js/fastboot/fastboot.js?0"></script>
|
<script type="module" src="/js/fastboot/fastboot.js?1"></script>
|
||||||
<script type="module" src="/js/web-install.js?2"></script>
|
<script type="module" src="/js/web-install.js?3"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
|
@ -14,6 +14,6 @@ for file in static_tmp/**/*.@(json|webmanifest); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
xmllint --noout static_tmp/**/*.@(html|svg|xml)
|
xmllint --noout static_tmp/**/*.@(html|svg|xml)
|
||||||
eslint static_tmp/**/!(zip.min|z-worker).js
|
eslint static_tmp/**/!(zip-inflate.min|z-worker-pako|pako_inflate.min).js
|
||||||
stylelint static_tmp/**/*.css
|
stylelint static_tmp/**/*.css
|
||||||
validatornu --Werror --also-check-css --also-check-svg static_tmp/**/*.@(css|html|svg)
|
validatornu --Werror --also-check-css --also-check-svg static_tmp/**/*.@(css|html|svg)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user